
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().