With Random.Range (0,10) a number between 0 and 10 is randomly chosen.
Now I want to have a random number between 0 and 10 except one specific number, for example 5.
So only from the numbers 0,1,2,3,4,6,7,8 and 9 one number is randomly chosen.
Does anybody know how to do that?
Now I want to have a random number between 0 and 10 except one specific number, for example 5.
So only from the numbers 0,1,2,3,4,6,7,8 and 9 one number is randomly chosen.
Does anybody know how to do that?