mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-22 22:07:59 +01:00
15 lines
275 B
C#
15 lines
275 B
C#
namespace PigeonCoopToolkit.Utillities
|
|
{
|
|
[System.Serializable]
|
|
public class Range
|
|
{
|
|
public float Min;
|
|
public float Max;
|
|
|
|
public bool WithinRange(float value)
|
|
{
|
|
return Min <= value && Max >= value;
|
|
}
|
|
}
|
|
|
|
}
|