Learn to code by making a 2D space shooter game.

Add system .serializable to be able to see the variable on the inspector
inside Wave class
This will delay spawning an enemy for 4 seconds when isAsteroidDestroy is true.
Remember I have changed this NextWave to coroutine.
set empty text when the game start.
Make sure to

--

--

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
Suleiman Abdullah

Suleiman Abdullah

Self taught Unity Developer, who is passion about making games