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 user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
3 People are following this question.
how do you actually stop a game?
Ending the game
How to make enemy speed up
Only one of all my Enemies shoots, Help please.
How do I make an enemy recoil when hit?