TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript.Layers
TouchLayer Class
TouchLayer Methods
addPointer Method
Awake Method
cancelPointer Method
checkHitFilters Method
createProjectionParams Method
GetProjectionParams Method
Hit Method
OnDestroy Method
pressPointer Method
releasePointer Method
removePointer Method
setName Method
updatePointer Method
TouchLayer
Hit Method
Checks if a point in screen coordinates hits something in this layer.
Namespace:
TouchScript.Layers
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
Copy
public
virtual
HitResult
Hit
(
IPointer
pointer
,
out
HitData
hit
)
Parameters
pointer
Type:
TouchScript.Pointers
IPointer
Pointer.
hit
Type:
TouchScript.Hit
HitData
Hit result.
Return Value
Type:
HitResult
true
, if an object is hit,
Miss
;
false
otherwise.
See Also
Reference
TouchLayer Class
TouchScript.Layers Namespace