Jedność generatora liczb losowych
int num = Random.Range(min, max);
Successful Sandpiper
int num = Random.Range(min, max);
var RandomValue = UnityEngine.Random.Range(min,max);
// random int
int num = Random.Range(min/*int*/, max/*int*/);
// random float
float num2 = Random.Range(min/*float*/, max/*float*/);
Random.Range(minVal, maxVal);