TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript.Behaviors.Cursors
PointerCursor Class
PointerCursor Methods
getPointerHash Method
M:TouchScript.Behaviors.Cursors.PointerCursor.hide
Hide Method
Init Method
SetState Method
show Method
update Method
updateOnce Method
UpdatePointer Method
PointerCursor
SetState Method
Sets the state of the cursor.
Namespace:
TouchScript.Behaviors.Cursors
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
Copy
public
void
SetState
(
IPointer
pointer
,
PointerCursor
CursorState
newState
,
Object
data
=
null
)
Parameters
pointer
Type:
TouchScript.Pointers
IPointer
The pointer.
newState
Type:
TouchScript.Behaviors.Cursors
PointerCursor
CursorState
The new state.
data
(Optional)
Type:
System
Object
State data.
See Also
Reference
PointerCursor Class
TouchScript.Behaviors.Cursors Namespace