I'm trying to code in Unity and I don't know how to make this. My idea is to declare int variables, generating the int randomly inside a range. Later, create a list with the variables and pick one randomly. Finally, display the resulting int in a label. This is my code, which is incomplete and maybe wrong:
#Variables
int low = Random.Range (100, 120);
int standard = Random.Range (120, 140);
int high = Random.Range (140, 160);
#List
string List = new string { low, standard, high };
#Pick one random item from the list
???
#Display that item in a label as an int
???
I'm not sure if this is the most effective way to do it. Also, could be possible to display in a label two int with a "/" between? Thanks!