Enum InputActionType | Package Manager UI website
docs.unity.cn
    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 © 2019 Unity Technologies
    Generated by DocFX