Namespace UnityEngine.Experimental.Input.Controls | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Namespace UnityEngine.Experimental.Input.Controls

    Classes

    AnyKeyControl

    A control that simply checks the entire state it's been assigned for whether there's any non-zero bytes. If there are, the control returns 1.0; otherwise it returns 0.0.

    AxisControl

    A floating-point axis control.

    ButtonControl

    An axis that has a trigger point beyond which it is considered to be pressed.

    DiscreteButtonControl

    A button that is considered pressed if the underlying state has a value in the specific range.

    DpadControl

    A control made up of four discrete, directional buttons. Forms a vector but can also be addressed as individual buttons.

    IntegerControl

    KeyControl

    A key on a Keyboard.

    PointerPhaseControl

    QuaternionControl

    StickControl

    A two-axis thumbstick control that can act as both a vector and a four-way dpad.

    TouchControl

    A control representing a touch contact.

    Vector2Control

    A floating-point 2D vector control composed of two AxisControl.

    Vector3Control

    A floating-point 3D vector control composed of three AxisControl.

    Enums

    DpadControl.ButtonBits

    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