- Home /
Load new scene, controls freeze
I am changing scene using this code:
Application.LoadLevel (2);
From the console i can see that a script from scene 1 is still running,(void Update() working on some static variables along with changing the scene with code stated above). there is also some OnGUI labels still present on the screen.
Is there any way to destroy everything then load new scene? or how is this handeled?
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Application.LoadLevel freeze at first load 0 Answers
ReadLine from Named Pipe freezes Unity 1 Answer
A* freezes unity 1 Answer