math random C# unity code example
Example 1: unity random
var RandomValue = UnityEngine.Random.Range(min,max);
Example 2: unity C# random number
public int number;
number = Random.Range(min, max);
var RandomValue = UnityEngine.Random.Range(min,max);
public int number;
number = Random.Range(min, max);