Jerry
0
Q:

unity random int

 // To get a random float between two values:
 float number = Random.Range(0.0f, 3.0f);
5
	//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);
    }
7
Random.Range(-10.0f, 10.0f);
1
X = Random.rnge(min, max)
  // Only works in C# Jireh Roberts
0

New to Communities?

Join the community