docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property isSelected

    isSelected

    (Read Only) Indicates whether this interactable is currently being selected by any interactor.

    Declaration
    public bool isSelected { get; }
    Property Value
    Type Description
    bool
    Implements
    IXRSelectInteractable.isSelected
    Remarks

    In other words, returns whether interactorsSelecting contains any interactors.

    interactorsSelecting.Count > 0

    See Also
    interactorsSelecting
    hasSelection
    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)