File size: 2,361 Bytes
18a519f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
namespace UnityEngine.InputSystem
{
    /// <summary>
    /// Indicates what type of change related to an <see cref="InputAction">input action</see> occurred.
    /// </summary>
    /// <seealso cref="InputSystem.onActionChange"/>
    public enum InputActionChange
    {
        /// <summary>
        /// An individual action was enabled.
        /// </summary>
        /// <seealso cref="InputAction.Enable"/>
        ActionEnabled,

        /// <summary>
        /// An individual action was disabled.
        /// </summary>
        /// <seealso cref="InputAction.Disable"/>
        ActionDisabled,

        /// <summary>
        /// An <see cref="InputActionMap">action map</see> was enabled.
        /// </summary>
        /// <seealso cref="InputActionMap.Enable"/>
        ActionMapEnabled,

        /// <summary>
        /// An <see cref="InputActionMap">action map</see> was disabled.
        /// </summary>
        /// <seealso cref="InputActionMap.Disable"/>
        ActionMapDisabled,

        /// <summary>
        /// An <see cref="InputAction"/> was started.
        /// </summary>
        /// <seealso cref="InputAction.started"/>
        /// <seealso cref="InputActionPhase.Started"/>
        ActionStarted,

        /// <summary>
        /// An <see cref="InputAction"/> was performed.
        /// </summary>
        /// <seealso cref="InputAction.performed"/>
        /// <seealso cref="InputActionPhase.Performed"/>
        ActionPerformed,

        /// <summary>
        /// An <see cref="InputAction"/> was canceled.
        /// </summary>
        /// <seealso cref="InputAction.canceled"/>
        /// <seealso cref="InputActionPhase.Canceled"/>
        ActionCanceled,

        /// <summary>
        /// Bindings on an action or set of actions are about to be re-resolved. This is called while <see cref="InputAction.controls"/>
        /// for actions are still untouched and thus still reflect the old binding state of each action.
        /// </summary>
        /// <seealso cref="InputAction.controls"/>
        BoundControlsAboutToChange,

        /// <summary>
        /// Bindings on an action or set of actions have been resolved. This is called after <see cref="InputAction.controls"/>
        /// have been updated.
        /// </summary>
        /// <seealso cref="InputAction.controls"/>
        BoundControlsChanged,
    }
}