Random intergers

Hey guys

I am wondering if someone can help me with a script code, been wondering how to make it.

I want to create a random numbers but it has to be used once.

Example :

var myRandom0ne = Random.Range(1,4);
var myRandomTwo = Random.Range(1,4);
//so if  myRandomOne filled with 3 or 2. then I
//want that my RandomTwo doesnt get the number that 
//is already been used

.

while ( myRandomTwo == myRandomOne ) myRandomTwo = Random.Range(1,4);

Thx vicenti,

lol such simple thing and couldn’t think of it. :shock: