Class ProjectWindowUtil
Inheritance
ProjectWindowUtil
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
|
Improve this Doc
View Source
CreateAssetWithContent(String, String, Texture2D)
Declaration
public static void CreateAssetWithContent(string filename, string content, Texture2D icon = null)
Parameters
|
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
|
Improve this Doc
View Source
GetBaseFolders(String[])
Declaration
public static string[] GetBaseFolders(string[] folders)
Parameters
Type |
Name |
Description |
String[] |
folders |
|
Returns
|
Improve this Doc
View Source
GetContainingFolder(String)
Declaration
public static string GetContainingFolder(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
Returns
|
Improve this Doc
View Source
IsFolder(Int32)
Declaration
public static bool IsFolder(int instanceID)
Parameters
Type |
Name |
Description |
Int32 |
instanceID |
|
Returns
|
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
Extension Methods