Publisher | Devy_Assets |
---|---|
File size | 40.42kB |
Number of files | 6 |
Latest version | 1 |
Latest release date | 2020-08-27 02:59:10 |
First release date | 2020-08-27 02:59:10 |
Supported Unity versions | 2018.4.2 or higher |
Rolls to see if an item will spawn and randomly selects an object to spawn from your array of prefabs.
Easy to use out-of-box!
To Use:
1. Drop the Prefab "SpawnRandomItem_Prefab" into your scene.
2. Add any prefab objects ("items") to the Items variable in the Inspector window.
3. Slide the "Probability of Spawn Percentage" to your desired value.
0 - Will Not Spawn
100 - Will Definitely Spawn
4. READY!
Now your "SpawnRandomItem_Prefab" is ready to use.
The object will run automatically on Start().