- Home /
How to load levels with animation GUI
I'd like to have my GUI elements (like the 'Play' button) animate and once finished trigger a load level.
Is my best option just to play the animation and then call Application.LoadLevel() or does anyone have any good ideas maybe Async loading the level while it's animating maybe?
I'm not exactly sure the best way to do it but still have quick loads.
Answer by BerggreenDK · Jun 26, 2011 at 02:35 PM
You can only use the Async level/scene loading if you have the PRO license.
If you have an object with:
void Awake ()
{
DontDestroyOnLoad (transform.gameObject);
}
Then the object will stay in the stage-hierachy even when you load another scene.
So yes, I believe your idea is the right one.
Your answer
Follow this Question
Related Questions
Loading Level Async without switching the level immediately 5 Answers
Preloading scene issue 0 Answers
Why does Application.LoadLevelAsync cause a huge spike? 2 Answers
Application.LoadLevelAsync() causes Unity crash? 2 Answers
How works loadLevelAsync 0 Answers