So I have 4 GameObjects that are currently spawning Randomly.
1.Regular Platform 2.Spiky Platform 3.Bouncy Platform 4.Coin Platform
So the problem is that it is spawning RANDOMLY. PROBLEM How can I add or control the spawning probability of each platform. Code wise. C#
Like within 10sec of play time. 85% chance of spawning Regular Platform 5% chance of spawning spiky platform 5% chance of spawning bouncy platform 5% chance of spawning coin platform
Note that the platform is spawning every seconds in the game.