Show / Hide Table of Contents

Class ProjectWindowUtil

Inheritance
Object
ProjectWindowUtil
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor
Assembly: UnityEditor.dll
Syntax
public class ProjectWindowUtil

Methods

| Improve this Doc View Source

CreateAsset(Object, String)

Declaration
public static void CreateAsset(Object asset, string pathName)
Parameters
Type Name Description
Object asset
String pathName
| Improve this Doc View Source

CreateAssetWithContent(String, String, Texture2D)

Declaration
public static void CreateAssetWithContent(string filename, string content, Texture2D icon = null)
Parameters
Type Name Description
String filename
String content
Texture2D icon
| Improve this Doc View Source

CreateFolder()

Declaration
public static void CreateFolder()
| Improve this Doc View Source

CreateNewGUISkin()

Declaration
[MenuItem("Assets/Create/GUI Skin", false, 601)]
public static void CreateNewGUISkin()
| Improve this Doc View Source

CreateScene()

Declaration
public static void CreateScene()
| Improve this Doc View Source

GetAncestors(Int32)

Declaration
public static int[] GetAncestors(int instanceID)
Parameters
Type Name Description
Int32 instanceID
Returns
Type Description
Int32[]
| Improve this Doc View Source

GetBaseFolders(String[])

Declaration
public static string[] GetBaseFolders(string[] folders)
Parameters
Type Name Description
String[] folders
Returns
Type Description
String[]
| Improve this Doc View Source

GetContainingFolder(String)

Declaration
public static string GetContainingFolder(string path)
Parameters
Type Name Description
String path
Returns
Type Description
String
| Improve this Doc View Source

IsFolder(Int32)

Declaration
public static bool IsFolder(int instanceID)
Parameters
Type Name Description
Int32 instanceID
Returns
Type Description
Boolean
| Improve this Doc View Source

ShowCreatedAsset(Object)

Declaration
public static void ShowCreatedAsset(Object o)
Parameters
Type Name Description
Object o
| Improve this Doc View Source

StartNameEditingIfProjectWindowExists(Int32, EndNameEditAction, String, Texture2D, String)

Declaration
public static void StartNameEditingIfProjectWindowExists(int instanceID, EndNameEditAction endAction, string pathName, Texture2D icon, string resourceFile)
Parameters
Type Name Description
Int32 instanceID
EndNameEditAction endAction
String pathName
Texture2D icon
String resourceFile

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX