fair random number picker

Hi, I’m trying to do a random number picker Random.Range(0, 10) but sometimes it picks the same number twice in a row, what I want is to don’t pick the same number until it picks all the numbers, and then it resets.

I hope that I have explained it well.

Generate a list of all numbers from 0 to 10 in a random order, then simply read the list. Or, fill a list with all numbers from 0 to 10, then randomly pick and remove an element from a list.