docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetTimeToAutoDeselect

    GetTimeToAutoDeselect(IXRInteractable)

    Gets the number of seconds for which this interactor will keep the interactable selected before automatically deselecting it.

    Declaration
    protected override float GetTimeToAutoDeselect(IXRInteractable interactable)
    Parameters
    Type Name Description
    IXRInteractable interactable

    The interactable to get the duration for.

    Returns
    Type Description
    float

    Returns the number of seconds for which this Interactor will keep an Interactable selected before automatically deselecting it.

    Overrides
    XRRayInteractor.GetTimeToAutoDeselect(IXRInteractable)
    See Also
    timeToAutoDeselect
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)