docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum TargetPriorityMode

    Options for how many Targets (or Interactables with priority for selection) to monitor.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Interactors
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    [MovedFrom("UnityEngine.XR.Interaction.Toolkit")]
    public enum TargetPriorityMode
    Remarks

    The options are in order of best performance.

    Fields

    Name Description
    All

    Tracks all Targets, the targetsForSelection list will be updated with all Interactables that can be selected in the current frame. This option has high performance cost.

    HighestPriorityOnly

    Only monitors the highest priority Target, the targetsForSelection list will only be updated with the highest priority Target, or it'll be empty if there is no Target that can be selected in the current frame. This option has moderate performance cost.

    None

    Monitors no Target, the targetsForSelection list will not be updated. This option has very low performance cost.

    See Also
    IXRTargetPriorityInteractor
    In This Article
    Back to top
    Copyright © 2025 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)