random number between 1 and 10 unity code example Example: unity C# random number public int number; number = Random.Range(min, max);