Class AbstractPropertiesBuilderPropertyDrawer<TPropertiesEnum>
public abstract class AbstractPropertiesBuilderPropertyDrawer<TPropertiesEnum> : PropertyDrawer where TPropertiesEnum : Enum
Type Parameters
TPropertiesEnum
- Inheritance
-
AbstractPropertiesBuilderPropertyDrawer<TPropertiesEnum>
- Derived
-
- Extension Methods
-
Properties
Properties
protected List<TPropertiesEnum> Properties { get; }
Property Value
- List<TPropertiesEnum>
PropertyHeight
protected virtual float PropertyHeight { get; }
Property Value
- float
Methods
DrawNullable(Rect, SerializedProperty, string, string, bool, GUIContent)
protected void DrawNullable(Rect position, SerializedProperty property, string propertyName, string flagPropertyName, bool isInverted = false, GUIContent flagPropertyLabel = null)
Parameters
position
Rect
property
SerializedProperty
propertyName
string
flagPropertyName
string
isInverted
bool
flagPropertyLabel
GUIContent
DrawProperties(Rect, SerializedProperty)
protected abstract void DrawProperties(Rect position, SerializedProperty property)
Parameters
position
Rect
property
SerializedProperty
GetPropertyHeight(SerializedProperty, GUIContent)
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
property
SerializedProperty
label
GUIContent
Returns
- float
OnGUI(Rect, SerializedProperty, GUIContent)
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
position
Rect
property
SerializedProperty
label
GUIContent