Class EnumFlagsAttributeDrawer
Renders enum flags on fields with the attribute. From https://answers.unity.com/questions/486694/default-editor-enum-as-flags-.html
Implements
PropertyDrawer
Namespace: Microsoft.MixedReality.Toolkit.Editor
Assembly: cs.temp.dll.dll
Syntax
public class EnumFlagsAttributeDrawer : PropertyDrawer, PropertyDrawer
Methods
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
Rect | position | |
SerializedProperty | property | |
GUIContent | label |
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
Rect | position | |
SerializedProperty | property | |
GUIContent | label |
Implements
PropertyDrawer