Click or drag to resize

TouchManagerIsInvalidPosition Method

Determines whether a Vector2 represents an invalid position, i.e. if it is equal to INVALID_POSITION.

Namespace:  TouchScript
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static bool IsInvalidPosition(
	Vector2 position
)

Parameters

position
Type: Vector2
Screen position.

Return Value

Type: Boolean
true if position is invalid; otherwise, false.
See Also