Class RoundedValueCurveDrawer
Custom property drawer for RoundedValueCurveAttribute.
[CustomPropertyDrawer(typeof(RoundedValueCurveAttribute))]
public class RoundedValueCurveDrawer : PropertyDrawer
Inheritance
Methods
OnGUI(Rect, SerializedProperty, GUIContent)
Make custom IMGUI based GUI for RoundedValueCurveAttribute.
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
| Name | Type | Description |
|---|---|---|
position | Rect | Rectangle on the screen to use for the property GUI. |
property | SerializedProperty | The SerializedProperty to make the custom GUI for. |
label | GUIContent | The label of this property. |