docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property interactablesSelected

    interactablesSelected

    (Read Only) The list of Interactables that are currently being selected (may by empty).

    Declaration
    public List<IXRSelectInteractable> interactablesSelected { get; }
    Property Value
    Type Description
    List<IXRSelectInteractable>
    Implements
    IXRSelectInteractor.interactablesSelected
    Remarks

    This should be treated as a read only view of the list and should not be modified by external callers. It is exposed as a List<T> rather than an IReadOnlyList<T> to avoid GC Allocations when enumerating the list.

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