set int using random.range unity code example Example: unity random range Random.Range(-10.0f, 10.0f);