int random unity code example
Example 1: random number generator unity
int num = Random.Range(min, max);
Example 2: unity random number
Random.Range(-10.0f, 10.0f);
int num = Random.Range(min, max);
Random.Range(-10.0f, 10.0f);