random range or unityengine.random.range code example Example: unity random range Random.Range(-10.0f, 10.0f);