Click or drag to resize

PressGesture Fields

The PressGesture type exposes the following members.

Fields
  NameDescription
Protected fieldactivePointers
Pointers the gesture currently owns and works with.
(Inherited from Gesture.)
Protected fieldbasicEditor (Inherited from Gesture.)
Protected fieldcachedPreviousScreenPosition
Cached previous screen position. Used to keep tap's position which can't be calculated from pointers when the gesture is recognized since all pointers are gone.
(Inherited from Gesture.)
Protected fieldcachedScreenPosition
Cached screen position. Used to keep tap's position which can't be calculated from pointers when the gesture is recognized since all pointers are gone.
(Inherited from Gesture.)
Protected fieldcachedTransform
Cached transform of the parent object.
(Inherited from Gesture.)
Public fieldOnPress
Unity event, occurs when gesture is recognized.
Public fieldOnStateChange
Occurs when gesture changes state.
(Inherited from Gesture.)
Public fieldStatic memberPRESS_MESSAGE
Message name when gesture is recognized
Top
See Also