Enum InputHelpers.Button | XR Interaction Toolkit | 0.10.0-preview.7
docs.unity3d.com
    Show / Hide Table of Contents

    Enum InputHelpers.Button

    A list of buttons that can be bound to.

    Namespace: Global Namespace
    Syntax
    public enum Button

    Fields

    Name Description Value
    None 0
    MenuButton 1
    Trigger 2
    Grip 3
    TriggerPressed 4
    GripPressed 5
    PrimaryButton 6
    PrimaryTouch 7
    SecondaryButton 8
    SecondaryTouch 9
    Primary2DAxisTouch 10
    Primary2DAxisClick 11
    Secondary2DAxisTouch 12
    Secondary2DAxisClick 13
    PrimaryAxis2DUp 14
    PrimaryAxis2DDown 15
    PrimaryAxis2DLeft 16
    PrimaryAxis2DRight 17
    SecondaryAxis2DUp 18
    SecondaryAxis2DDown 19
    SecondaryAxis2DLeft 20
    SecondaryAxis2DRight 21
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023