Class EnumFlagsAttributeDrawer
Renders enum flags on fields with the attribute. From https://answers.unity.com/questions/486694/default-editor-enum-as-flags-.html
Namespace: Microsoft.MixedReality.Toolkit.Editor
Assembly: cs.temp.dll.dll
Syntax
public class EnumFlagsAttributeDrawer : 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 |