mirror of
https://github.com/FriendshipIsEpic/FiE-Game.git
synced 2024-11-26 15:27:59 +01:00
16 lines
275 B
C#
16 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;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
}
|