C# Class UnityEditor.PackageImport

Inheritance: EditorWindow
Afficher le fichier Open project: randomize/VimConfig Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

GetPreview() public static méthode

public static GetPreview ( string previewPath ) : Texture2D
previewPath string
Résultat UnityEngine.Texture2D

HasInvalidCharInFilePath() public static méthode

public static HasInvalidCharInFilePath ( string filePath ) : bool
filePath string
Résultat bool

OnAfterDeserialize() public méthode

public OnAfterDeserialize ( ) : void
Résultat void

OnBeforeSerialize() public méthode

public OnBeforeSerialize ( ) : void
Résultat void

OnGUI() public méthode

public OnGUI ( ) : void
Résultat void

PackageImport() public méthode

public PackageImport ( ) : System
Résultat System

ShowImportPackage() public static méthode

public static ShowImportPackage ( string packagePath, AssetsItem items, string packageIconPath ) : void
packagePath string
items AssetsItem
packageIconPath string
Résultat void