Class FlushChildrenDrawer
Inheritance
FlushChildrenDrawer
Syntax
public class FlushChildrenDrawer : PropertyDrawer
Properties
ShouldDisplayFoldout
Declaration
public bool ShouldDisplayFoldout { get; }
Property Value
Methods
DisplayChildProperty(Rect, SerializedProperty, SerializedProperty, GUIContent)
Declaration
protected virtual void DisplayChildProperty(Rect position, SerializedProperty parentProperty, SerializedProperty childProperty, GUIContent label)
Parameters
Type |
Name |
Description |
Rect |
position |
|
SerializedProperty |
parentProperty |
|
SerializedProperty |
childProperty |
|
GUIContent |
label |
|
GetChildPropertyHeight(SerializedProperty, SerializedProperty)
Declaration
protected virtual float GetChildPropertyHeight(SerializedProperty parentProperty, SerializedProperty childProperty)
Parameters
Type |
Name |
Description |
SerializedProperty |
parentProperty |
|
SerializedProperty |
childProperty |
|
Returns
GetPropertyHeight(SerializedProperty, GUIContent)
Declaration
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
Type |
Name |
Description |
SerializedProperty |
property |
|
GUIContent |
label |
|
Returns
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type |
Name |
Description |
Rect |
position |
|
SerializedProperty |
property |
|
GUIContent |
label |
|