random number between unity code example
Example 1: random number generator unity
int num = Random.Range(min, max);
Example 2: unity C# random number
public int number;
number = Random.Range(min, max);
int num = Random.Range(min, max);
public int number;
number = Random.Range(min, max);