Get a number value by Random.Range Unity C# int nameOfVariable = Random.Range(-10.0f, 10.0f); Related