- Home /
c# check for destroyed objects to load next scene
Can anyone give me some advice on how to load a scene only when a series of gameobjects have been destroyed.
Comment
Best Answer
Answer by robertbu · May 12, 2014 at 08:53 AM
If you tag all the 'series of gameobjects' with the same tag you can so something like this in Update():
if (GameObject.FindWithTag("SomeTag") == null) {
Application.LoadLevel("SomeLevel");
}
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Loadingscreen and play Level when initialized completely 1 Answer
scene loader issue 0 Answers