12 namespace Valve.VR.InteractionSystem
23 [CustomPropertyDrawer( typeof(
EnumFlags ) )]
24 public class EnumFlagsPropertyDrawer : PropertyDrawer
26 public override void OnGUI( Rect position, SerializedProperty property, GUIContent label )
28 property.intValue = EditorGUI.MaskField( position, label, property.intValue, property.enumNames );