Enum InputActionType | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Enum InputActionType

    Determines the behavior with which an InputAction triggers.

    Namespace: UnityEngine.InputSystem
    Syntax
    public enum InputActionType
    Remarks

    While all actions essentially function the same way, there are differences in how an action can react to changes in values on the controls it is bound to. The most straightforward type of behavior is PassThrough which does not expect any kind of value change pattern but simply triggers the action on every value change.

    In addition, there is Button which TODO

    Fields

    Name Description
    Button

    An action that acts as a trigger.

    PassThrough

    An action that has no specific type of behavior and instead acts as a simple pass-through for any value change on any bound control.

    Value

    An action that reads a value from its connected sources.

    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