random range is 0 inclusive unity random.range code example Example: unity random range Random.Range(-10.0f, 10.0f);