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