C# Class SkillRecordDrawer, CSharpGameFramework

Inheritance: UnityEditor.PropertyDrawer
Show file Open project: dreamanlan/CSharpGameFramework

Public Methods

Method Description
GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void

Private Methods

Method Description
CreateSkillDslFile ( int dslSkillId, string filePath, string content ) : void
OnCustomMenu ( object userData, string options, int selected ) : void
OpenSkillDsl ( string filePath ) : void
ShowSkillDslTemplateMenu ( int dslSkillId, string filePath, float x, float y ) : void

Method Details

GetPropertyHeight() public method

public GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
property UnityEditor.SerializedProperty
label GUIContent
return float

OnGUI() public method

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