docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method IsSelecting

    IsSelecting(IXRSelectInteractable)

    Determines whether this Interactor is currently selecting the Interactable.

    Declaration
    public bool IsSelecting(IXRSelectInteractable interactable)
    Parameters
    Type Name Description
    IXRSelectInteractable interactable

    Interactable to check.

    Returns
    Type Description
    bool

    Returns true if this Interactor is currently selecting the Interactable. Otherwise, returns .

    Implements
    IXRSelectInteractor.IsSelecting(IXRSelectInteractable)
    Remarks

    In other words, returns whether interactablesSelected contains interactable.

    See Also
    interactablesSelected

    IsSelecting(IXRInteractable)

    Determines whether this Interactor is currently selecting the Interactable.

    Declaration
    protected bool IsSelecting(IXRInteractable interactable)
    Parameters
    Type Name Description
    IXRInteractable interactable

    Interactable to check.

    Returns
    Type Description
    bool

    Returns true if this Interactor is currently selecting the Interactable. Otherwise, returns .

    Remarks

    In other words, returns whether interactablesSelected contains interactable.

    See Also
    interactablesSelected
    IsSelecting(IXRSelectInteractable)
    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)