Click or drag to resize

MathHelperIsInRange Method (Single, Single, Single)

Returns whether a number is between two other numbers.

Respects from being larger than to.

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static bool IsInRange(
	float number,
	float from,
	float to
)
Request Example View Source

Parameters

number
Type: SystemSingle
from
Type: SystemSingle
to
Type: SystemSingle

Return Value

Type: Boolean
See Also