Click or drag to resize

ReleaseGesture Methods

The ReleaseGesture type exposes the following members.

Methods
  NameDescription
Public methodAddFriendlyGesture
Adds a friendly gesture.
(Inherited from Gesture.)
Protected methodAwake (Inherited from Gesture.)
Public methodCanBePreventedByGesture
Determines whether this instance can be prevented by specified gesture.
(Overrides GestureCanBePreventedByGesture(Gesture).)
Public methodCancel
Cancels this gesture.
(Inherited from Gesture.)
Public methodCancel(Boolean, Boolean)
Cancels this gesture.
(Inherited from Gesture.)
Public methodCanPreventGesture
Determines whether this instance can prevent the specified gesture.
(Overrides GestureCanPreventGesture(Gesture).)
Public methodGetScreenPositionHitData
Returns HitData for gesture's ScreenPosition, i.e. what is right beneath it.
(Inherited from Gesture.)
Public methodHasPointer
Determines whether gesture controls a pointer.
(Inherited from Gesture.)
Public methodIsFriendly
Checks if a gesture is friendly with this gesture.
(Inherited from Gesture.)
Protected methodonBegan
Called when state is changed to Began.
(Inherited from Gesture.)
Protected methodonCancelled
Called when state is changed to Cancelled.
(Inherited from Gesture.)
Protected methodonChanged
Called when state is changed to Changed.
(Inherited from Gesture.)
Protected methodOnDestroy
Unity OnDestroy handler.
(Inherited from Gesture.)
Protected methodOnDisable
Unity OnDisable handler.
(Inherited from Gesture.)
Protected methodOnEnable
Unity Start handler.
(Inherited from Gesture.)
Protected methodonFailed
Called when state is changed to Failed.
(Inherited from Gesture.)
Protected methodonIdle
Called when state is changed to Idle.
(Inherited from Gesture.)
Protected methodonPossible
Called when state is changed to Possible.
(Inherited from Gesture.)
Protected methodonRecognized
Called when state is changed to Recognized.
(Overrides GestureonRecognized.)
Protected methodpointersCancelled
Called when pointers are cancelled.
(Inherited from Gesture.)
Protected methodpointersPressed
Called when new pointers appear.
(Overrides GesturepointersPressed(IListPointer).)
Protected methodpointersReleased
Called if pointers are removed.
(Overrides GesturepointersReleased(IListPointer).)
Protected methodpointersUpdated
Called for moved pointers.
(Inherited from Gesture.)
Protected methodreset
Called to reset gesture state after it fails or recognizes.
(Inherited from Gesture.)
Protected methodsetState
Tries to change gesture state.
(Inherited from Gesture.)
Public methodShouldBegin
Specifies if gesture can begin or recognize.
(Inherited from Gesture.)
Protected methodshouldCachePointerPosition
Should the gesture cache this pointers to use it later in calculation of ScreenPosition.
(Inherited from Gesture.)
Public methodShouldReceivePointer
Specifies if gesture can receive this specific pointer point.
(Overrides GestureShouldReceivePointer(Pointer).)
Top
See Also