unity random int

C#
Random.Range(-10.0f, 10.0f);	//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);
    }X = Random.rnge(min, max)
  // Only works in C# Jireh Roberts
Source

Also in C#: