Random Utils

FREE
Publisher Games Garden
File size 220.42kB
Number of files 35
Latest version 1
Latest release date 2020-06-09 11:42:12
First release date 2020-06-09 11:42:12
Supported Unity versions 2018.4.2 or higher
Set of utils for make work with random selections more comfortable.

Includes Randomizer and Weighted List.

Features:

Randomizer
- Non-repetitions random.
- Flat-distributed random.

Weighted List
- Allow to set weights for list items, and then select randomly by weight.
- Inherits IList and IReadOnlyList interface - you can use it as usual List.
- Property drawer included to easy setup in inspector.

Top Publisher Assets