docs.unity3d.com
    Show / Hide Table of Contents

    Class XRBaseControllerInteractorEditor

    Custom editor for an XRBaseControllerInteractor.

    Inheritance
    Object
    BaseInteractionEditor
    XRBaseInteractorEditor
    XRBaseControllerInteractorEditor
    XRDirectInteractorEditor
    XRRayInteractorEditor
    Inherited Members
    XRBaseInteractorEditor.m_InteractionManager
    XRBaseInteractorEditor.m_InteractionLayerMask
    XRBaseInteractorEditor.m_AttachTransform
    XRBaseInteractorEditor.m_StartingSelectedInteractable
    XRBaseInteractorEditor.m_HoverEntered
    XRBaseInteractorEditor.m_HoverExited
    XRBaseInteractorEditor.m_SelectEntered
    XRBaseInteractorEditor.m_SelectExited
    XRBaseInteractorEditor.m_OnHoverEntered
    XRBaseInteractorEditor.m_OnHoverExited
    XRBaseInteractorEditor.m_OnSelectEntered
    XRBaseInteractorEditor.m_OnSelectExited
    XRBaseInteractorEditor.m_OnHoverEnteredCalls
    XRBaseInteractorEditor.m_OnHoverExitedCalls
    XRBaseInteractorEditor.m_OnSelectEnteredCalls
    XRBaseInteractorEditor.m_OnSelectExitedCalls
    XRBaseInteractorEditor.DrawInspector()
    XRBaseInteractorEditor.DrawCoreConfiguration()
    XRBaseInteractorEditor.DrawInteractionManagement()
    XRBaseInteractorEditor.DrawInteractorEvents()
    XRBaseInteractorEditor.DrawInteractorEventsNested()
    XRBaseInteractorEditor.IsDeprecatedEventsInUse()
    XRBaseInteractorEditor.MigrateEvents(SerializedObject)
    XRBaseInteractorEditor.MigrateEvents(Object[])
    BaseInteractionEditor.knownSerializedPropertyNames
    BaseInteractionEditor.OnInspectorGUI()
    BaseInteractionEditor.InitializeKnownSerializedPropertyNames()
    BaseInteractionEditor.GetDerivedSerializedPropertyNames()
    BaseInteractionEditor.DrawDerivedProperties()
    BaseInteractionEditor.DrawScript()
    Namespace: UnityEditor.XR.Interaction.Toolkit
    Syntax
    public class XRBaseControllerInteractorEditor : XRBaseInteractorEditor

    Fields

    m_AudioClipForOnHoverCanceled

    of the backing audioClipForOnHoverCanceled.

    Declaration
    protected SerializedProperty m_AudioClipForOnHoverCanceled
    Field Value
    Type Description
    SerializedProperty

    m_AudioClipForOnHoverEntered

    of the backing audioClipForOnHoverEntered.

    Declaration
    protected SerializedProperty m_AudioClipForOnHoverEntered
    Field Value
    Type Description
    SerializedProperty

    m_AudioClipForOnHoverExited

    of the backing audioClipForOnHoverExited.

    Declaration
    protected SerializedProperty m_AudioClipForOnHoverExited
    Field Value
    Type Description
    SerializedProperty

    m_AudioClipForOnSelectCanceled

    of the backing audioClipForOnSelectCanceled.

    Declaration
    protected SerializedProperty m_AudioClipForOnSelectCanceled
    Field Value
    Type Description
    SerializedProperty

    m_AudioClipForOnSelectEntered

    of the backing audioClipForOnSelectEntered.

    Declaration
    protected SerializedProperty m_AudioClipForOnSelectEntered
    Field Value
    Type Description
    SerializedProperty

    m_AudioClipForOnSelectExited

    of the backing audioClipForOnSelectExited.

    Declaration
    protected SerializedProperty m_AudioClipForOnSelectExited
    Field Value
    Type Description
    SerializedProperty

    m_HapticHoverCancelDuration

    of the backing hapticHoverCancelDuration.

    Declaration
    protected SerializedProperty m_HapticHoverCancelDuration
    Field Value
    Type Description
    SerializedProperty

    m_HapticHoverCancelIntensity

    of the backing hapticHoverCancelIntensity.

    Declaration
    protected SerializedProperty m_HapticHoverCancelIntensity
    Field Value
    Type Description
    SerializedProperty

    m_HapticHoverEnterDuration

    of the backing hapticHoverEnterDuration.

    Declaration
    protected SerializedProperty m_HapticHoverEnterDuration
    Field Value
    Type Description
    SerializedProperty

    m_HapticHoverEnterIntensity

    of the backing hapticHoverEnterIntensity.

    Declaration
    protected SerializedProperty m_HapticHoverEnterIntensity
    Field Value
    Type Description
    SerializedProperty

    m_HapticHoverExitDuration

    of the backing hapticHoverExitDuration.

    Declaration
    protected SerializedProperty m_HapticHoverExitDuration
    Field Value
    Type Description
    SerializedProperty

    m_HapticHoverExitIntensity

    of the backing hapticHoverExitIntensity.

    Declaration
    protected SerializedProperty m_HapticHoverExitIntensity
    Field Value
    Type Description
    SerializedProperty

    m_HapticSelectCancelDuration

    of the backing hapticSelectCancelDuration.

    Declaration
    protected SerializedProperty m_HapticSelectCancelDuration
    Field Value
    Type Description
    SerializedProperty

    m_HapticSelectCancelIntensity

    of the backing hapticSelectCancelIntensity.

    Declaration
    protected SerializedProperty m_HapticSelectCancelIntensity
    Field Value
    Type Description
    SerializedProperty

    m_HapticSelectEnterDuration

    of the backing hapticSelectEnterDuration.

    Declaration
    protected SerializedProperty m_HapticSelectEnterDuration
    Field Value
    Type Description
    SerializedProperty

    m_HapticSelectEnterIntensity

    of the backing hapticSelectEnterIntensity.

    Declaration
    protected SerializedProperty m_HapticSelectEnterIntensity
    Field Value
    Type Description
    SerializedProperty

    m_HapticSelectExitDuration

    of the backing hapticSelectExitDuration.

    Declaration
    protected SerializedProperty m_HapticSelectExitDuration
    Field Value
    Type Description
    SerializedProperty

    m_HapticSelectExitIntensity

    of the backing hapticSelectExitIntensity.

    Declaration
    protected SerializedProperty m_HapticSelectExitIntensity
    Field Value
    Type Description
    SerializedProperty

    m_HideControllerOnSelect

    of the backing hideControllerOnSelect.

    Declaration
    protected SerializedProperty m_HideControllerOnSelect
    Field Value
    Type Description
    SerializedProperty

    m_PlayAudioClipOnHoverCanceled

    of the backing playAudioClipOnHoverCanceled.

    Declaration
    protected SerializedProperty m_PlayAudioClipOnHoverCanceled
    Field Value
    Type Description
    SerializedProperty

    m_PlayAudioClipOnHoverEntered

    of the backing playAudioClipOnHoverEntered.

    Declaration
    protected SerializedProperty m_PlayAudioClipOnHoverEntered
    Field Value
    Type Description
    SerializedProperty

    m_PlayAudioClipOnHoverExited

    of the backing playAudioClipOnHoverExited.

    Declaration
    protected SerializedProperty m_PlayAudioClipOnHoverExited
    Field Value
    Type Description
    SerializedProperty

    m_PlayAudioClipOnSelectCanceled

    of the backing playAudioClipOnSelectCanceled.

    Declaration
    protected SerializedProperty m_PlayAudioClipOnSelectCanceled
    Field Value
    Type Description
    SerializedProperty

    m_PlayAudioClipOnSelectEntered

    of the backing playAudioClipOnSelectEntered.

    Declaration
    protected SerializedProperty m_PlayAudioClipOnSelectEntered
    Field Value
    Type Description
    SerializedProperty

    m_PlayAudioClipOnSelectExited

    of the backing playAudioClipOnSelectExited.

    Declaration
    protected SerializedProperty m_PlayAudioClipOnSelectExited
    Field Value
    Type Description
    SerializedProperty

    m_PlayHapticsOnHoverCanceled

    of the backing playHapticsOnHoverCanceled.

    Declaration
    protected SerializedProperty m_PlayHapticsOnHoverCanceled
    Field Value
    Type Description
    SerializedProperty

    m_PlayHapticsOnHoverEntered

    of the backing playHapticsOnHoverEntered.

    Declaration
    protected SerializedProperty m_PlayHapticsOnHoverEntered
    Field Value
    Type Description
    SerializedProperty

    m_PlayHapticsOnHoverExited

    of the backing playHapticsOnHoverExited.

    Declaration
    protected SerializedProperty m_PlayHapticsOnHoverExited
    Field Value
    Type Description
    SerializedProperty

    m_PlayHapticsOnSelectCanceled

    of the backing playHapticsOnSelectCanceled.

    Declaration
    protected SerializedProperty m_PlayHapticsOnSelectCanceled
    Field Value
    Type Description
    SerializedProperty

    m_PlayHapticsOnSelectEntered

    of the backing playHapticsOnSelectEntered.

    Declaration
    protected SerializedProperty m_PlayHapticsOnSelectEntered
    Field Value
    Type Description
    SerializedProperty

    m_PlayHapticsOnSelectExited

    of the backing playHapticsOnSelectExited.

    Declaration
    protected SerializedProperty m_PlayHapticsOnSelectExited
    Field Value
    Type Description
    SerializedProperty

    m_SelectActionTrigger

    of the backing selectActionTrigger.

    Declaration
    protected SerializedProperty m_SelectActionTrigger
    Field Value
    Type Description
    SerializedProperty

    Methods

    DrawAudioEvents()

    Draw the Audio Events foldout.

    Declaration
    protected virtual void DrawAudioEvents()
    See Also
    DrawAudioEventsNested()

    DrawAudioEventsNested()

    Draw the nested contents of the Audio Events foldout.

    Declaration
    protected virtual void DrawAudioEventsNested()
    See Also
    DrawAudioEvents()

    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 override void DrawBeforeProperties()
    Overrides
    XRBaseInteractorEditor.DrawBeforeProperties()

    DrawEvents()

    This method is automatically called by DrawInspector() to draw the event properties. Override this method to customize the events shown in the Inspector. This is typically the method overridden when a derived behavior adds additional serialized event properties that should be displayed in the Inspector.

    Declaration
    protected override void DrawEvents()
    Overrides
    XRBaseInteractorEditor.DrawEvents()

    DrawHapticEvents()

    Draw the Haptic Events foldout.

    Declaration
    protected virtual void DrawHapticEvents()
    See Also
    DrawHapticEventsNested()

    DrawHapticEventsNested()

    Draw the nested contents of the Haptic Events foldout.

    Declaration
    protected virtual void DrawHapticEventsNested()
    See Also
    DrawHapticEvents()

    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 override void DrawProperties()
    Overrides
    XRBaseInteractorEditor.DrawProperties()

    DrawSelectActionTrigger()

    Draw the Select Action Trigger property and display a warning box if misconfigured.

    Declaration
    protected virtual void DrawSelectActionTrigger()

    OnEnable()

    This function is called when the object becomes enabled and active.

    Declaration
    protected override void OnEnable()
    Overrides
    XRBaseInteractorEditor.OnEnable()

    VerifyControllerPresent()

    Verify that the required XRBaseController component is present and display a warning box if missing.

    Declaration
    protected virtual void VerifyControllerPresent()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023