issues
search
RealityStop
/
Bolt.Addons.Community
A community-driven project for extending Unity Bolt
MIT License
250
stars
34
forks
source link
Add RandomElementByWeight unit
#31
Open
YoloStudioGame
opened
3 years ago
YoloStudioGame
commented
3 years ago
Get random element(s) by weight.
Input: A dictionary with key is object item and value is the weight of the item.
Output: An item if the Total Item header value is 1. A list of item if the Total Item header value is greater than 1.