Class SelectionGroupDrawer
The editor draw used in the inspector for SelectionGroup properties.
Inherited Members
Namespace: Unity.SelectionGroups.Editor
Syntax
[CustomPropertyDrawer(typeof(SelectionGroupDropDownAttribute))]
public class SelectionGroupDrawer : PropertyDrawer
Methods
OnGUI(Rect, SerializedProperty, GUIContent)
Implements UI for SelectionGroup drawers.
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | position | |
| SerializedProperty | property | |
| GUIContent | label |