C# Class UnityEditor.ProjectWindowUtil

Datei anzeigen Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
CreateAsset ( Object asset, string pathName ) : void
CreateFolder ( ) : void
CreatePrefab ( ) : void
CreateScene ( ) : void
GetAncestors ( int instanceID ) : int[]
GetBaseFolders ( string folders ) : string[]
GetContainingFolder ( string path ) : string
IsFolder ( int instanceID ) : bool
ShowCreatedAsset ( Object o ) : void
StartNameEditingIfProjectWindowExists ( int instanceID, UnityEditor endAction, string pathName, Texture2D icon, string resourceFile ) : void

Private Methods

Method Description
CreateAnimatorController ( ) : void
CreateAudioMixer ( ) : void
CreateNewGUISkin ( ) : void
CreateScriptAsset ( string templatePath, string destName ) : void
CreateScriptAssetFromTemplate ( string pathName, string resourceFile ) : Object
CreateSpritePolygon ( int sides ) : void
DuplicateSelectedAssets ( ) : void
EndNameEditAction ( UnityEditor action, int instanceId, string pathName, string resourceFile ) : void
FrameObjectInProjectWindow ( int instanceID ) : void
GetActiveFolderPath ( ) : string
GetDragAndDropObjects ( int draggedInstanceID, List selectedInstanceIDs ) : Object[]
GetDragAndDropPaths ( int draggedInstanceID, List selectedInstanceIDs ) : string[]
GetProjectBrowserIfExists ( ) : ProjectBrowser
IsFavoritesItem ( int instanceID ) : bool
StartDrag ( int draggedInstanceID, List selectedInstanceIDs ) : void

Method Details

CreateAsset() public static method

public static CreateAsset ( Object asset, string pathName ) : void
asset Object
pathName string
return void

CreateFolder() public static method

public static CreateFolder ( ) : void
return void

CreatePrefab() public static method

public static CreatePrefab ( ) : void
return void

CreateScene() public static method

public static CreateScene ( ) : void
return void

GetAncestors() public static method

public static GetAncestors ( int instanceID ) : int[]
instanceID int
return int[]

GetBaseFolders() public static method

public static GetBaseFolders ( string folders ) : string[]
folders string
return string[]

GetContainingFolder() public static method

public static GetContainingFolder ( string path ) : string
path string
return string

IsFolder() public static method

public static IsFolder ( int instanceID ) : bool
instanceID int
return bool

ShowCreatedAsset() public static method

public static ShowCreatedAsset ( Object o ) : void
o Object
return void

StartNameEditingIfProjectWindowExists() public static method

public static StartNameEditingIfProjectWindowExists ( int instanceID, UnityEditor endAction, string pathName, Texture2D icon, string resourceFile ) : void
instanceID int
endAction UnityEditor
pathName string
icon UnityEngine.Texture2D
resourceFile string
return void