C# Class UnityToolbag.ResourcePathDrawer

Inheritance: UnityEditor.PropertyDrawer
Exibir arquivo Open project: ChemiKhazi/UnityToolbag

Public Methods

Method Description
OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void
TryGetResourcePath ( string assetPath, string &resourcePath ) : bool

Private Methods

Method Description
FlashInspector ( ) : void
StartInspectorFlash ( ) : void

Method Details

OnGUI() public method

public OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void
position UnityEngine.Rect
property UnityEditor.SerializedProperty
label UnityEngine.GUIContent
return void

TryGetResourcePath() public static method

public static TryGetResourcePath ( string assetPath, string &resourcePath ) : bool
assetPath string
resourcePath string
return bool