random.range la unidad no funciona

//Do u have using System too? If so u have to specify w
UnityEngine.Random.Range(1, 10);
ceoTommy