//works in visual studio for unity int randomNumber = UnityEngine.Random.Range(1, 100); //Random number between 1 and 99