docs.unity.cn
    Show / Hide Table of Contents

    Enum InteractableSelectMode

    Options for the selection policy of an Interactable.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public enum InteractableSelectMode

    Fields

    Name Description Value
    Single

    Allows the Interactable to only be selected by a single Interactor at a time and allows other Interactors to take selection by automatically deselecting.


    0
    Multiple

    Allows for multiple Interactors at a time to select the Interactable.


    This option can be disabled in the Inspector window by adding the CanSelectMultipleAttribute with a value of false to a derived class of XRBaseInteractable.

    1
    See Also
    selectMode
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Tuesday, June 20, 2023