Debug.Log(Random.Range(1, 10); // Prints random number between 1 and 10 print(Random.Range(1, 10); // print also works