What do you want to save?
Add Code snippet
New code examples
-
-
Other 2021-10-20 17:30:06
unity random object from list
that's a good question. Randomly pick one item from a list is easy. You can simply do something like : myListOfItems[Random.Range(0, myListOfItems.Length)] // if it's an array myListOfItems[Random.Range(0, myListOfItems.Count)] // if it's a List But ... Add solution
Best helpers
Ranking is empty