Skip to main content

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​

NameTypeDescription
positionRectRectangle on the screen to use for the property GUI.
propertySerializedPropertyThe SerializedProperty to make the custom GUI for.
labelGUIContentThe label of this property.
  • Methods
    • OnGUI(Rect, SerializedProperty, GUIContent)