- Home /
Question by
Avash · Nov 14, 2015 at 02:46 PM ·
c#scenescene-loading
How scene loading works?
Application.LoadLevel(sceneToLoad);
menu = GameObject.Find ("Menu");
Debug.Log (menu.gameObject.tag);
For some reason this doesn't work. I was expecting it to return tag from the new version of the object from the loaded scene, not the version in the old scene. Please explain in what point the new scene is available to the script.
Comment
Answer by Avash · Nov 14, 2015 at 10:12 PM
I was answered on irc, that the actual loading happens in the beginning of the next frame.
Your answer
Follow this Question
Related Questions
Access loading screen scene components from Main Menu? 1 Answer
Only one scene? 2 Answers
Scene assets not bundled in asset bundle 0 Answers