Click or drag to resize

Gesture Properties

The Gesture type exposes the following members.

Properties
  NameDescription
Public propertyActivePointers
Gets list of gesture's active pointers.
Public propertyDebugMode
Gets or sets if this object should show its debug information.
(Inherited from DebuggableMonoBehaviour.)
Public propertyDelegate
Gets or sets an object implementing IGestureDelegate to be asked for gesture specific actions.
Protected propertygestureManager
Reference to global GestureManager.
Public propertyMaxPointers
Gets or sets maximum number of pointers this gesture reacts to. The gesture will not be recognized if it has more than MaxPointers pointers.
Public propertyMinPointers
Gets or sets minimum number of pointers this gesture reacts to. The gesture will not be recognized if it has less than MinPointers pointers.
Public propertyNormalizedScreenPosition
Gets normalized screen position.
Public propertyNumPointers
Gets the number of active pointerss.
Protected propertypointersNumState
The state of min/max number of pointers.
Public propertyPreviousNormalizedScreenPosition
Gets previous screen position.
Public propertyPreviousScreenPosition
Gets previous screen position.
Public propertyPreviousState
Gets previous gesture state.
Public propertyRequireGestureToFail
Gets or sets another gesture which must fail before this gesture can be recognized.
Public propertyScreenPosition
Gets current screen position.
Public propertySendMessageTarget
Gets or sets the target of Unity messages sent from this gesture.
Public propertySendStateChangeEvents
Gets or sets a value indicating whether state change events are broadcasted if UseUnityEvents is true.
Public propertySendStateChangeMessages
Gets or sets a value indicating whether state change events are broadcasted if UseSendMessage is true.
Public propertyState
Gets current gesture state.
Protected propertytouchManager
Reference to global TouchManager.
Public propertyUseSendMessage
Gets or sets whether gesture should use Unity's SendMessage in addition to C# events.
Public propertyUseUnityEvents
Gets or sets whether gesture should use Unity Events in addition to C# events.
Top
See Also