Skip to content

OptionalValuePropertyDrawer

Namespace: SideXP.Core.EditorOnly | Inherits from: PropertyDrawer

public class OptionalValuePropertyDrawer : PropertyDrawer

Custom property drawer for OptionalValue`1 fields.

Methods

OnGUI(Rect, SerializedProperty, GUIContent)

public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)

Inherited documentation.

GetPropertyHeight(SerializedProperty, GUIContent)

public override float GetPropertyHeight(SerializedProperty property, GUIContent label)

Inherited documentation.