docs.unity3d.com
    Show / Hide Table of Contents

    Enum InteractableFocusMode

    Options for the focus policy of an Interactable.

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

    Fields

    Name Description Value
    None

    Focus not supported for this interactable.


    0
    Single

    Allows the Interactable to only be focused by a single Interaction group at a time and allows other Interaction groups to take focus by automatically losing focus.


    1
    Multiple

    Allows for multiple Interaction groups at a time to focus the Interactable.


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

    2
    See Also
    focusMode
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, July 24, 2023