Random.range Unity

// returns 0 - 9
Random.Range(0, 10)
Frightened Fish