TimedFlagPropertyDrawer Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A custom property drawer for TimedFlag fields.
C#
[UnityEditor.CustomPropertyDrawer(typeof(MixedReality.Toolkit.TimedFlag), true)]
[UnityEditor.CustomPropertyDrawer(typeof(MixedReality.Toolkit.EditableTimedFlagAttribute), true)]
public class TimedFlagPropertyDrawer : UnityEditor.PropertyDrawer
[<UnityEditor.CustomPropertyDrawer(typeof(MixedReality.Toolkit.TimedFlag), true)>]
[<UnityEditor.CustomPropertyDrawer(typeof(MixedReality.Toolkit.EditableTimedFlagAttribute), true)>]
type TimedFlagPropertyDrawer = class
inherit PropertyDrawer
Public Class TimedFlagPropertyDrawer
Inherits PropertyDrawer
- Inheritance
-
UnityEditor.PropertyDrawerTimedFlagPropertyDrawer
- Attributes
-
UnityEditor.CustomPropertyDrawerAttribute
Enables inspector editing of state value if the property is decorated with EditableTimedFlagAttribute.
Get |
UnityEditor.PropertyDrawer.GetPropertyHeight(UnityEditor.SerializedProperty,UnityEngine.GUIContent) |
OnGUI(Rect, Serialized |
UnityEditor.PropertyDrawer.OnGUI(UnityEngine.Rect,UnityEditor.SerializedProperty,UnityEngine.GUIContent) |
Product | Versions |
---|---|
MRTK3 Core Definitions | 3.0, 3.1, 3.2 |