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