Objective: Add a wave system that increases in difficulty
Up until now my enemies have just been spawning at total random. I want to add a wave system that increases in difficulty based off of how many enemies that have been killed.
To start off with, I’m going to add a variable to the Player script that’s going to keep track of how many enemies that have been killed. Then I’m going to add that variable into a method

Now, I’m going to simply communicate this method into my Enemy script. This will keep track of each enemy that is detroyed by a laser and increase the kill count.

Now you can see the kill count go up