Skip to content

RangePropertyDrawer

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

public class RangePropertyDrawer : PropertyDrawer

Draws a range property on a single line.

Methods

GetHeight()

public static float GetHeight()

Gets the height for drawing this range property.

DrawRangeGUI(Rect, SerializedProperty, GUIContent)

public static void DrawRangeGUI(Rect position, SerializedProperty property, GUIContent label)

Draws the min/max fields on GUI.

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.