Class NavigationDrawer
Inherited Members
Namespace: UnityEditor.UI
Syntax
[CustomPropertyDrawer(typeof(Navigation), true)]
public class NavigationDrawer : PropertyDrawer
Methods
GetPropertyHeight(SerializedProperty, GUIContent)
Declaration
public override float GetPropertyHeight(SerializedProperty prop, GUIContent label)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedProperty | prop | |
| GUIContent | label |
Returns
| Type | Description |
|---|---|
| Single |
Overrides
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect pos, SerializedProperty prop, GUIContent label)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | pos | |
| SerializedProperty | prop | |
| GUIContent | label |