In the 3rd person shooter example project to start with you only have one enemy, i've added more but the game still ends once one has been killed. How would i make it so that the game ends when all enemies are eliminated?
Answer by Adamcbrz
Aug 05, 2011 at 09:11 PM
This could be an issue with a static variable declaring your enemy or how your end game function works. With out any code or more detail it is hard to direct you in the right direction.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
3 People are following this question.
I can't get any collision check to work...
Only one of all my Enemies shoots, Help please.
How to make enemy speed up
how do you actually stop a game?
How do I make an enemy recoil when hit?