docs.unity.cn
    Show / Hide Table of Contents

    Enum SectorInteraction.Directions

    Sets which cardinal directions to use when determining valid directions to perform the action.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Interactions
    Syntax
    [Flags]
    public enum Directions

    Fields

    Name Description Value
    None

    Do not include any direction, e.g. the center deadzone region of a thumbstick. The action will never perform.


    0
    North

    Include North direction, e.g. forward on a thumbstick.


    1
    South

    Include South direction, e.g. back on a thumbstick.


    2
    East

    Include East direction, e.g. right on a thumbstick.


    4
    West

    Include West direction, e.g. left on a thumbstick.


    8
    See Also
    directions
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Tuesday, August 22, 2023