Chance Selection Pool

Martysh

(0)
FREE
Publisher Martysh
File size 758.47kB
Number of files 9
Latest version 1.0.1
Latest release date 2021-12-10 08:18:13
First release date 2021-12-10 08:18:13
Supported Unity versions 2018.4.2 or higher

You no longer need to write hard-to-read and hard-to-change code from many "if-else" conditions. Just enter the drop chance for each item and use the uniform function to select a random item. Change the drop probability of items directly in the inspector or visualize them by an information pie chart.


You can use this code to select anything - weapons, bonuses, game objects, colors, materials, enemies, characters.


There is documentation and example scene in asset.

Top Publisher Assets