Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Sign in to follow this  

Question

Posted (edited)

Hello there. I want to do the wave system, can you help?

I have a code that I know, but when the seconds are over, the zombies are coming, and when I kill all the zombies I want to start a new wave

 

Please login or register to see this code.

 

Edited by oksade

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

if(numEnemy == 0) SpawnMore(); not sure why you have a numEnemy variable tho if your storing them in a dictionary to begin with tho when you can just remove them from the dictionary and check if dictionary.Count == 0.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×