mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class EnumFlagsAttributeDrawer

    Renders enum flags on fields with the attribute. From https://answers.unity.com/questions/486694/default-editor-enum-as-flags-.html

    Inheritance
    Object
    EnumFlagsAttributeDrawer
    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
    In This Article
    • Methods
      • OnGUI(Rect, SerializedProperty, GUIContent)
      • OnGUI(Rect, SerializedProperty, GUIContent)
    • Implements
    Back to top Generated by DocFX