unity random method code example
Example 1: unity random number
Random.Range(-10.0f, 10.0f);
Example 2: unity random
var RandomValue = UnityEngine.Random.Range(min,max);
Random.Range(-10.0f, 10.0f);
var RandomValue = UnityEngine.Random.Range(min,max);