Enum InputActionPhase
Trigger phase of an InputAction.
Namespace: UnityEngine.InputSystem
Syntax
public enum InputActionPhase
Remarks
Actions can be triggered in steps. For example, a SlowTapInteraction will put an action into Started phase when a button the action is bound to is pressed. At that point, however, the action still has to wait for the expiration of a timer in order to make it a 'slow tap'. If the button is release before the timer expires, the action will be Canceled whereas if the button is held long enough, the action will be Performed.
Fields
| Name | Description | Value | 
|---|---|---|
| Disabled | The action is not enabled.  | 
0 | 
| Waiting | The action is enabled and waiting for input on its associated controls.  | 
1 | 
| Started | An associated control has been actuated such that it may lead to the action being triggered.  | 
2 | 
| Performed | 3 | |
| Canceled | 4 |