generate random int between two numbers c# Unity code example Example: unity random range Random.Range(-10.0f, 10.0f);