Method | Description | |
---|---|---|
GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float |
Gets the height of the property.
|
|
OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void |
Draw Property.
|
Method | Description | |
---|---|---|
CreateArrayElementMenuContents ( int index ) : GUIContent[] |
Creates the array element menu contents.
|
|
CreateArraySizeMenuContents ( ) : GUIContent[] |
Creates the array size menu contents.
|
|
DrawArrayExpander ( Rect &position, UnityEditor.SerializedProperty property, GUIContent label ) : void |
Draws the array expander.
|
|
DrawArraySize ( Rect &position, UnityEditor.SerializedProperty property, Object targetObject, string targetPropertyPath, bool openMenu, Vector3 mousePos ) : void |
Draws the size of the array.
|
|
OpenArrayElementMenu ( Object targetObject, string targetPropertyPath, int index, Vector3 mousePos ) : void |
Opens the array element menu.
|
|
OpenArraySizeFieldMenu ( Object targetObject, string targetPropertyPath, Vector3 mousePos ) : void |
Opens the array size field menu.
|
|
SelectArrayElementMenuCallback ( object userData, string options, int selected ) : void |
Selects the array element menu's Callback.
|
|
SelectArraySizeMenuCallback ( object userData, string options, int selected ) : void |
Selects the array size menu's Callback.
|
|
WantOpenMenu ( ) : bool |
Wants the open menu?.
|
public GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float | ||
property | UnityEditor.SerializedProperty | |
label | GUIContent | |
return | float |
public OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void | ||
position | Rect | |
property | UnityEditor.SerializedProperty | |
label | GUIContent | |
return | void |