- Home /
Make sure levels assets are loaded before switching?
Hi! I've been having a issue with my games recently. This issue being - When i change a level in the standalone version of the game(and sometimes the editor) i can hear the levels sounds load before the game actually shows the level has been loaded. So I was wondering if theres a way to tell unity: "Hey - dont load this until EVERYTHING is ready". Is there a way to do this? I'm sorry if my questions a little vauge, i explained it the best i could. Thank you in advance!
Answer by ericksson · Jun 07, 2014 at 10:40 PM
You can use OnLevelWasLoaded combined with LoadLevelAsync. Check the discussion here: http://forum.unity3d.com/threads/how-to-yield-untill-level-is-loaded-in-c.34448/ Might be helpful.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
RevMobIOS & CarController Error 0 Answers
Different language scripts - how to avoid trouble? 1 Answer
Problem with MathF in C# and Javascript 0 Answers