mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 16:34:41 +01:00
18 lines
229 B
C#
18 lines
229 B
C#
using System;
|
|
|
|
namespace PigeonCoopToolkit.Utillities
|
|
{
|
|
[Serializable]
|
|
public class Range
|
|
{
|
|
public float Min;
|
|
|
|
public float Max;
|
|
|
|
public bool WithinRange(float value)
|
|
{
|
|
return Min <= value && Max >= value;
|
|
}
|
|
}
|
|
}
|