SliderInspector Class

Definition

A custom Unity editor for the Slider class.

C#
[UnityEditor.CustomEditor(typeof(MixedReality.Toolkit.UX.Slider), true)]
public class SliderInspector : MixedReality.Toolkit.Editor.StatefulInteractableEditor
C#
[UnityEditor.CustomEditor(typeof(MixedReality.Toolkit.UX.Slider), true)]
[UnityEditor.CanEditMultipleObjects]
public class SliderInspector : MixedReality.Toolkit.Editor.StatefulInteractableEditor
Inheritance
UnityEditor.XR.Interaction.Toolkit.XRBaseInteractableEditor
SliderInspector
Attributes
UnityEditor.CustomEditorAttribute UnityEditor.CanEditMultipleObjectsAttribute

Constructors

Methods

DrawInteractableEvents() (Inherited from BaseInteractableEditor)
DrawMRTKInteractableFlags()

Draw the serialized flags fields from the StatefulInteractable object.

(Inherited from StatefulInteractableEditor)
DrawProperties() UnityEditor.XR.Interaction.Toolkit.XRBaseInteractableEditor.DrawProperties
DrawProperties(Boolean)

Overload to DrawProperties() to allow subclasses to specify whether they'd like to show toggle-related properties.

(Inherited from StatefulInteractableEditor)
DrawTimedFlag(SerializedProperty, TimedFlag, Color, Color)

Draw a TimedFlag field.

(Inherited from BaseInteractableEditor)
GetDerivedSerializedPropertyNames() (Inherited from BaseInteractableEditor)
OnEnable()

A Unity event function that is called when the script component has been enabled.

(Inherited from StatefulInteractableEditor)
SetUpAutoProperty(String)

Sets up a serialized property based on the name of the auto property with an implicitly defined backing serialized field.

(Inherited from BaseInteractableEditor)
SetUpProperty(String)

Sets up a serialized property based on the name of the backing serialized field.

(Inherited from BaseInteractableEditor)

Applies to

Product Versions
MRTK3 UX Core 3.0, 3.1, 3.2