Is there any function in C#/Unity, that allows me set my own random sequence ? for example in one State, I want to choose one number between (1 ,3, -2), and in another case (1,20,3,4,5) I can do something like that: int[] tab = new int[3] {1,29,4}; int chosen = tab[ Random.Range(0, tab.length) ]; Of course I can write my own function, but if Unity has that one, it won't be necessary.