unity gte random number code example
Example 1: random number generator unity
int num = Random.Range(min, max);
Example 2: how to generate random number in unity
X = Random.Range(min, max);
int num = Random.Range(min, max);
X = Random.Range(min, max);