unity c# rendom integer code example Example: random number generator unity int num = Random.Range(min, max);