Click or drag to resize

PointerUtilsIsPointerOnTarget Method (IPointer, Transform)

Determines whether the pointer is over a specific GameObject.

Namespace:  TouchScript.Utils
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static bool IsPointerOnTarget(
	IPointer pointer,
	Transform target
)

Parameters

pointer
Type: TouchScript.PointersIPointer
The pointer.
target
Type: Transform
The target.

Return Value

Type: Boolean
true if the pointer is over the GameObject; false otherwise.
See Also