init
This commit is contained in:
15
Assets/Scripts/Helpers.cs
Normal file
15
Assets/Scripts/Helpers.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user