Gesture Methods |
The Gesture type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddFriendlyGesture |
Adds a friendly gesture.
|
![]() | Awake | |
![]() | CanBePreventedByGesture |
Determines whether this instance can be prevented by specified gesture.
|
![]() | Cancel |
Cancels this gesture.
|
![]() | Cancel(Boolean, Boolean) |
Cancels this gesture.
|
![]() | CanPreventGesture |
Determines whether this instance can prevent the specified gesture.
|
![]() | GetScreenPositionHitData |
Returns HitData for gesture's ScreenPosition, i.e. what is right beneath it.
|
![]() | HasPointer |
Determines whether gesture controls a pointer.
|
![]() | IsFriendly |
Checks if a gesture is friendly with this gesture.
|
![]() | onBegan |
Called when state is changed to Began.
|
![]() | onCancelled |
Called when state is changed to Cancelled.
|
![]() | onChanged |
Called when state is changed to Changed.
|
![]() | OnDestroy |
Unity OnDestroy handler.
|
![]() | OnDisable |
Unity OnDisable handler.
|
![]() | OnEnable |
Unity Start handler.
|
![]() | onFailed |
Called when state is changed to Failed.
|
![]() | onIdle |
Called when state is changed to Idle.
|
![]() | onPossible |
Called when state is changed to Possible.
|
![]() | onRecognized |
Called when state is changed to Recognized.
|
![]() | pointersCancelled |
Called when pointers are cancelled.
|
![]() | pointersPressed |
Called when new pointers appear.
|
![]() | pointersReleased |
Called if pointers are removed.
|
![]() | pointersUpdated |
Called for moved pointers.
|
![]() | reset |
Called to reset gesture state after it fails or recognizes.
|
![]() | setState |
Tries to change gesture state.
|
![]() | ShouldBegin |
Specifies if gesture can begin or recognize.
|
![]() | shouldCachePointerPosition |
Should the gesture cache this pointers to use it later in calculation of ScreenPosition.
|
![]() | ShouldReceivePointer |
Specifies if gesture can receive this specific pointer point.
|