TouchScript — multitouch library for Unity
TouchScript — multitouch library for Unity
TouchScript
TouchScript
ILayerManager Interface
ILayerManager Methods
AddLayer Method
ChangeLayerIndex Method
ClearExclusive Method
ForEach Method
GetHitTarget Method
IsExclusive Method
RemoveLayer Method
SetExclusive Method
ILayerManager
GetHitTarget Method
Detects if the pointer hits any object in the scene.
Namespace:
TouchScript
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
Copy
bool
GetHitTarget
(
IPointer
pointer
,
out
HitData
hit
)
Parameters
pointer
Type:
TouchScript.Pointers
IPointer
The pointer.
hit
Type:
TouchScript.Hit
HitData
Hit structure to fill on success.
Return Value
Type:
Boolean
True if any object is hit.
See Also
Reference
ILayerManager Interface
TouchScript Namespace