Check out example codes for "Random number unity". It will help you in understanding the concepts better.

Code Example 1

X = Random.range(min, max)
// Only Works In C#

Code Example 2

Random.Range(-10.0f, 10.0f);

Code Example 3

X = Random.rnge(min, max)
//Works in C# only

Code Example 4

//If you use Int in the Random.Range() then it will
	//return an Int
	public int RanTimerHigh = 10;
    public int RanTimerLow = 1;

    void Start()
        int RandomInt = Random.Range(RanTimerLow, RanTimerHigh);

Code Example 5

X = Random.rnge(min, max)
  // Only works in C# Jireh Roberts

Learn ReactJs, React Native from