docs.unity.cn
    Show / Hide Table of Contents

    Enum InputHelpers.Axis2D

    A list of 2D axis inputs that can be bound to.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public enum Axis2D

    Fields

    Name Description Value
    None

    Represents an invalid 2D axis.


    0
    PrimaryAxis2D

    Represents the primary touchpad or joystick on a device.


    1
    SecondaryAxis2D

    Represents the secondary touchpad or joystick on a device.


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Tuesday, July 18, 2023