docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property targetsForSelection

    targetsForSelection

    The Interactables with priority for selection in the current frame, some Interactables might be already selected. This list is sorted by priority (with highest priority first). How many Interactables appear in this list is configured by the targetPriorityMode property.

    Declaration
    List<IXRSelectInteractable> targetsForSelection { get; }
    Property Value
    Type Description
    List<IXRSelectInteractable>
    Remarks

    Unity automatically clears and updates this list every frame if targetPriorityMode has a value different from None, in this case a valid list must be returned.

    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)