gain unity rand range code example
Example 1: random number generator unity
int num = Random.Range(min, max);
Example 2: unity random int
//If you use Int in the Random.Range() then it will
//return an Int
public int RanTimerHigh = 10;
public int RanTimerLow = 1;
void Start()
{
int RandomInt = Random.Range(RanTimerLow, RanTimerHigh);
}