View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 6000.3.2 or later
- Package size
- 5 KB
- Files
- 2
- Favorites
- 4
- Views in the past week
- 3
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Randomx - Randomizer Utility
Contains simple yet essential random utility methods.
Price Free
Get it free on Asset Store (opens in new tab)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
Randomx - Randomizer Utility screenshot 1
About this asset
A library of simple and essential random utility methods, such as picking a weighted item, or weighted bools.
From the publisher's Asset Store listing.
Technical details
- ChooseRandom - Chooses a random input based on provided weights. Useful for loot pools.
- GetChances/GetChancesPercent = Returns a normalized/percentage possibility of each provided item and weights, for visualizing weight chances.
- GetRandom - Chooses 1+ random entries from a list of items.
- ShuffleList/ShuffleArray - Shuffles a list/array using Fisher-Yates shuffle.
- RandomBool - Chooses true or false with a 50/50 chance.
- RandomWeightedBool - Chooses true or false with chosen weights. Useful for crit chances, etc.
- RandomVector2 - Chooses a random Vector2 between the min and the max.
- RandomDirection2D - Chooses a random normalized Vector2 direction.
- RandomVector3 - Chooses a random Vector3 between the min and the max.
- RandomDirection - Chooses a random direction in 3D space.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.3.2f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.