docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetHoverTimeToSelect

    GetHoverTimeToSelect(IXRInteractable)

    Gets the number of seconds for which this interactor must hover over the interactable to select it if hoverToSelect is enabled.

    Declaration
    protected virtual float GetHoverTimeToSelect(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 must hover over an Interactable to select it.

    See Also
    hoverTimeToSelect
    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)