docs.unity3d.com
    Show / Hide Table of Contents

    Class XRSocketInteractorEditor

    Custom editor for an XRSocketInteractor.

    Inheritance
    Object
    BaseInteractionEditor
    XRBaseInteractorEditor
    XRSocketInteractorEditor
    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.DrawBeforeProperties()
    XRBaseInteractorEditor.DrawEvents()
    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 XRSocketInteractorEditor : XRBaseInteractorEditor

    Fields

    m_InteractableCantHoverMeshMaterial

    of the backing interactableCantHoverMeshMaterial.

    Declaration
    protected SerializedProperty m_InteractableCantHoverMeshMaterial
    Field Value
    Type Description
    SerializedProperty

    m_InteractableHoverMeshMaterial

    of the backing interactableHoverMeshMaterial.

    Declaration
    protected SerializedProperty m_InteractableHoverMeshMaterial
    Field Value
    Type Description
    SerializedProperty

    m_InteractableHoverScale

    of the backing interactableHoverScale.

    Declaration
    protected SerializedProperty m_InteractableHoverScale
    Field Value
    Type Description
    SerializedProperty

    m_RecycleDelayTime

    of the backing recycleDelayTime.

    Declaration
    protected SerializedProperty m_RecycleDelayTime
    Field Value
    Type Description
    SerializedProperty

    m_ShowInteractableHoverMeshes

    of the backing showInteractableHoverMeshes.

    Declaration
    protected SerializedProperty m_ShowInteractableHoverMeshes
    Field Value
    Type Description
    SerializedProperty

    m_SocketActive

    of the backing socketActive.

    Declaration
    protected SerializedProperty m_SocketActive
    Field Value
    Type Description
    SerializedProperty

    Methods

    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()

    OnEnable()

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

    Declaration
    protected override void OnEnable()
    Overrides
    XRBaseInteractorEditor.OnEnable()
    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