C# Class UnityEditor.PackageImport

Inheritance: EditorWindow
Mostrar archivo Open project: randomize/VimConfig Class Usage Examples

Public Methods

Method Description
DrawTexture ( Rect r, Texture2D tex, bool useDropshadow ) : void
GetPreview ( string previewPath ) : Texture2D
HasInvalidCharInFilePath ( string filePath ) : bool
OnAfterDeserialize ( ) : void
OnBeforeSerialize ( ) : void
OnGUI ( ) : void
PackageImport ( ) : System
ShowImportPackage ( string packagePath, AssetsItem items, string packageIconPath ) : void

Private Methods

Method Description
BottomArea ( ) : void
DestroyCreatedIcons ( ) : void
HasInvalidCharInFilePath ( string filePath, char &invalidChar, int &invalidCharIndex ) : bool
Init ( string packagePath, AssetsItem items, string packageIconPath ) : void
IsAllFilePathsValid ( AssetsItem assetItems, string &errorMessage ) : bool
LoadTexture ( string filepath, Texture2D &texture ) : void
OnDisable ( ) : void
TopArea ( ) : void
ValidateInput ( AssetsItem items ) : bool

Method Details

DrawTexture() public static method

public static DrawTexture ( Rect r, Texture2D tex, bool useDropshadow ) : void
r UnityEngine.Rect
tex UnityEngine.Texture2D
useDropshadow bool
return void

GetPreview() public static method

public static GetPreview ( string previewPath ) : Texture2D
previewPath string
return UnityEngine.Texture2D

HasInvalidCharInFilePath() public static method

public static HasInvalidCharInFilePath ( string filePath ) : bool
filePath string
return bool

OnAfterDeserialize() public method

public OnAfterDeserialize ( ) : void
return void

OnBeforeSerialize() public method

public OnBeforeSerialize ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

PackageImport() public method

public PackageImport ( ) : System
return System

ShowImportPackage() public static method

public static ShowImportPackage ( string packagePath, AssetsItem items, string packageIconPath ) : void
packagePath string
items AssetsItem
packageIconPath string
return void