Enum GestureRecognizerState
Enumerator that represent the current state a gesture recognizer is in.
Gesture recognizers recognize a discrete event such as a tap or a swipe but don’t report changes within the gesture. In other words, discrete gestures don’t transition through the Began and Changed states and they can’t fail or be canceled.
Namespace: Unity.AppUI.Core
Assembly: Unity.AppUI.dll
Syntax
public enum GestureRecognizerState
Fields
Name | Description |
---|---|
Began | The gesture recognizer has received touches recognized as a continuous gesture. |
Canceled | The gesture recognizer has received touches resulting in the cancellation of a continuous gesture. |
Changed | The gesture recognizer has received touches recognized as a change to a continuous gesture. |
Ended | The gesture has ended/failed/been cancelled. |
Failed | The gesture recognizer has received a multi-touch sequence that it can’t recognize as its gesture. |
Possible | The current touch configuration is not recognized but still possible. |
Recognized | The current touch configuration is recognized. |