How to create a spawning object without over cluttering the game in Unity?

Spawning objects like they are falling without using the power of tons of if else statements calls for a Spawn Manager. What is a spawn manager? It is a bunch of code using the IEnumerator method and private void. You can create a container to hold enemies and they will spawn random without messing with long handle codes of telling them to pop up in certain spots.

We use coroutines so that they help us keep up with how many objects can spawn and how few that they will allow through each spawning point.

Above are the calls that can help other scripts spawn multiple objects that are on the screne at once.

--

--