Class XRInteractionManagerEditor
Custom editor for an XRInteractionManager.
Inheritance
Namespace: UnityEditor.XR.Interaction.Toolkit
Syntax
[CustomEditor(typeof(XRInteractionManager), true)]
[CanEditMultipleObjects]
public class XRInteractionManagerEditor : BaseInteractionEditor
Fields
m_StartingHoverFilters
SerializedProperty of the SerializeField backing startingHoverFilters.
Declaration
protected SerializedProperty m_StartingHoverFilters
Field Value
Type | Description |
---|---|
SerializedProperty |
m_StartingSelectFilters
SerializedProperty of the SerializeField backing startingSelectFilters.
Declaration
protected SerializedProperty m_StartingSelectFilters
Field Value
Type | Description |
---|---|
SerializedProperty |
Methods
DrawBeforeProperties()
This method is automatically called by DrawInspector() to draw the section of the custom inspector before DrawProperties(). By default, this draws the read-only Script property.
Declaration
protected virtual void DrawBeforeProperties()
DrawFilters()
Draw the Global Filter foldout.
Declaration
protected virtual void DrawFilters()
DrawFiltersNested()
Draw the property fields related to the hover and select filters.
Declaration
protected virtual void DrawFiltersNested()
DrawInspector()
This method is automatically called by UnityEditor.XR.Interaction.Toolkit.BaseInteractionEditor.OnInspectorGUI to draw the custom inspector. Override this method to customize the inspector as a whole.
Declaration
protected override void DrawInspector()
Overrides
DrawProperties()
This method is automatically called by DrawInspector() to draw the property fields. Override this method to customize the properties shown in the Inspector. This is typically the method overridden when a derived behavior adds additional serialized properties that should be displayed in the Inspector.
Declaration
protected virtual void DrawProperties()
OnEnable()
This function is called when the object becomes enabled and active.
Declaration
protected virtual void OnEnable()