I know about Random.Range, but I would like to say “x equals 1 to 10”, and using just Range doesn’t work. What do I do?
[EDIT]
Hmm, ok, maybe it would be better if I explained what I wanted to do. I want my enemies to drop ammunition when they die, but not every time. So I’m using Random.Range to get a number when the enemy dies, which I want the numbers of different types to ammo to be compared to. If they are the same, then spawn that ammo. However, I want some ammo to be more common than others, and the only way I could think of doing that is by making a list, to make the chance of the number getting picked larger.