Click or drag to resize

LongPressGesture Properties

The LongPressGesture type exposes the following members.

Properties
  NameDescription
Public propertyActivePointers
Gets list of gesture's active pointers.
(Inherited from Gesture.)
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.
(Inherited from Gesture.)
Public propertyDistanceLimit
Gets or sets maximum distance in cm pointers can move before gesture fails.
Protected propertygestureManager
Reference to global GestureManager.
(Inherited from Gesture.)
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.
(Inherited from Gesture.)
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.
(Inherited from Gesture.)
Public propertyNormalizedScreenPosition
Gets normalized screen position.
(Inherited from Gesture.)
Public propertyNumPointers
Gets the number of active pointerss.
(Inherited from Gesture.)
Protected propertypointersNumState
The state of min/max number of pointers.
(Inherited from Gesture.)
Public propertyPreviousNormalizedScreenPosition
Gets previous screen position.
(Inherited from Gesture.)
Public propertyPreviousScreenPosition
Gets previous screen position.
(Inherited from Gesture.)
Public propertyPreviousState
Gets previous gesture state.
(Inherited from Gesture.)
Public propertyRequireGestureToFail
Gets or sets another gesture which must fail before this gesture can be recognized.
(Inherited from Gesture.)
Public propertyScreenPosition
Gets current screen position.
(Inherited from Gesture.)
Public propertySendMessageTarget
Gets or sets the target of Unity messages sent from this gesture.
(Inherited from Gesture.)
Public propertySendStateChangeEvents
Gets or sets a value indicating whether state change events are broadcasted if UseUnityEvents is true.
(Inherited from Gesture.)
Public propertySendStateChangeMessages
Gets or sets a value indicating whether state change events are broadcasted if UseSendMessage is true.
(Inherited from Gesture.)
Public propertyState
Gets current gesture state.
(Inherited from Gesture.)
Public propertyTimeToPress
Gets or sets total time in seconds required to hold pointers still.
Protected propertytouchManager
Reference to global TouchManager.
(Inherited from Gesture.)
Public propertyUseSendMessage
Gets or sets whether gesture should use Unity's SendMessage in addition to C# events.
(Inherited from Gesture.)
Public propertyUseUnityEvents
Gets or sets whether gesture should use Unity Events in addition to C# events.
(Inherited from Gesture.)
Top
See Also