Click or drag to resize

StandardLayerHit 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#
public override HitResult Hit(
	IPointer pointer,
	out HitData hit
)

Parameters

pointer
Type: TouchScript.PointersIPointer
Pointer.
hit
Type: TouchScript.HitHitData
Hit result.

Return Value

Type: HitResult
true, if an object is hit, Miss; false otherwise.
See Also