EndlessRocket/Assets/Scripts/Helpers.cs
2023-07-19 00:28:23 +05:30

15 lines
254 B
C#

using UnityEngine;
[System.Serializable]
public class Range{
public float min, max;
public Range(float _min, float _max){
min = _min;
max = _max;
}
public float GetRandom(){
return Random.Range(min,max);
}
}