Class FloatExtensionMethods
- Namespace
- CodeBase
- Assembly
- 4Experience.CodeBase.Core.Runtime.dll
public static class FloatExtensionMethods
- Inheritance
-
FloatExtensionMethods
Methods
IsInRange(float, float, float)
Checking if an float value is in a two-way closed set.
public static bool IsInRange(this float source, float min, float max)
Parameters
Returns
IsInRange(float, Vector2)
Checking if an float value is in a two-way closed set.
Range based on Vector2 value - no matter x or y is greater.
public static bool IsInRange(this float source, Vector2 range)
Parameters
sourcefloatrangeVector2