docs.unity.cn
    Show / Hide Table of Contents

    Enum InputActionChange

    Indicates what type of change related to an InputAction occurred.

    Namespace: UnityEngine.InputSystem
    Syntax
    public enum InputActionChange

    Fields

    Name Description Value
    ActionEnabled

    An individual action was enabled.


    0
    ActionDisabled

    An individual action was disabled.


    1
    ActionMapEnabled

    An InputActionMap was enabled.


    2
    ActionMapDisabled

    An InputActionMap was disabled.


    3
    ActionStarted

    An InputAction was started.


    4
    ActionPerformed

    An InputAction was performed.


    5
    ActionCanceled

    An InputAction was canceled.


    6
    BoundControlsAboutToChange

    Bindings on an action or set of actions are about to be re-resolved. This is called while controls for actions are still untouched and thus still reflect the old binding state of each action.


    7
    BoundControlsChanged

    Bindings on an action or set of actions have been resolved. This is called after controls have been updated.


    8
    See Also
    onActionChange
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Saturday, May 27, 2023