Day 4: Creating the Spawn Manager

Today I created the spawn manager for my game. This is done by using an empty game object and coroutines.

The spawn manager controls how frequently the enemies will spawn. The enemies will spawn and be parented under the enemy container game object to keep the game hierarchy clean. I have also made it so that once the player dies the enemies will stop spawning. I love all the new knowledge I get as I work on these different aspects of my game.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store