FiE-Game/Assets/TrailEffect/Utillities/Range.cs

16 lines
275 B
C#
Raw Normal View History

2023-07-26 13:38:51 +02:00
namespace PigeonCoopToolkit.Utillities
{
[System.Serializable]
public class Range
{
public float Min;
public float Max;
public bool WithinRange(float value)
{
return Min <= value && Max >= value;
}
}
}