TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript.Gestures
Gesture Class
Gesture Methods
AddFriendlyGesture Method
Awake Method
CanBePreventedByGesture Method
Cancel Method
CanPreventGesture Method
GetScreenPositionHitData Method
HasPointer Method
IsFriendly Method
onBegan Method
onCancelled Method
onChanged Method
OnDestroy Method
OnDisable Method
OnEnable Method
onFailed Method
onIdle Method
onPossible Method
onRecognized Method
pointersCancelled Method
pointersPressed Method
pointersReleased Method
pointersUpdated Method
reset Method
setState Method
ShouldBegin Method
shouldCachePointerPosition Method
ShouldReceivePointer Method
Gesture
setState Method
Tries to change gesture state.
Namespace:
TouchScript.Gestures
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
Copy
protected
bool
setState
(
Gesture
GestureState
value
)
Parameters
value
Type:
TouchScript.Gestures
Gesture
GestureState
New state.
Return Value
Type:
Boolean
true
if state was changed; otherwise,
false
.
See Also
Reference
Gesture Class
TouchScript.Gestures Namespace