Skip to content

SeparatorPropertyDrawer

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

public class SeparatorPropertyDrawer : PropertyDrawer

Draws a separator line before the property field.

Fields

Space

public const float Space = 12

SeparatorTotalHeight

public const float SeparatorTotalHeight = 26

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.