random value range unity code example
Example 1: random.range unity
// returns 0 - 9
Random.Range(0, 10)
Example 2: random.range unity not working
//Do u have using System too? If so u have to specify w
UnityEngine.Random.Range(1, 10);
// returns 0 - 9
Random.Range(0, 10)
//Do u have using System too? If so u have to specify w
UnityEngine.Random.Range(1, 10);