Quantcast
Channel: Latest Questions by Wrymnn
Viewing all articles
Browse latest Browse all 131

Choose random from given numbers

$
0
0
Is there some function in C# like: var randomN = choose(1,5,10,15); Let`s say. I need to specify those numbers. Some simple function please. Random.Range() is not what I need. **REASON:** **I need to pick spawn area that is not too far from space station, nor too close to** **station or ship will spawn in the center of it.**

Viewing all articles
Browse latest Browse all 131

Trending Articles