Class EnumFlagsPropertyDrawer
Inheritance
System.Object
UnityEditor.GUIDrawer
UnityEditor.PropertyDrawer
EnumFlagsPropertyDrawer
Inherited Members
UnityEditor.PropertyDrawer.GetPropertyHeight(UnityEditor.SerializedProperty, UnityEngine.GUIContent)
UnityEditor.PropertyDrawer.attribute
UnityEditor.PropertyDrawer.fieldInfo
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Valve.VR.InteractionSystem
Assembly: Assembly-CSharp.dll
Syntax
[CustomPropertyDrawer(typeof(EnumFlags))]
public class EnumFlagsPropertyDrawer : PropertyDrawer
Methods
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Rect | position | |
UnityEditor.SerializedProperty | property | |
UnityEngine.GUIContent | label |
Overrides
UnityEditor.PropertyDrawer.OnGUI(UnityEngine.Rect, UnityEditor.SerializedProperty, UnityEngine.GUIContent)