- Home /
EDIT: Animated Loading Screen
Hello!
Currently my (example) main menu button works like this:
public void MainMenu ()
{
loadScreen.SetActive (true);
audioSource.PlayOneShot (buttonSound);
Application.LoadLevel ("Main Menu");
}
I'd like to play an animation when I load the main menu, but I can't get animations to work since it is already loading a scene. How could I play an animation that lasts until the new scene is loaded?
I've still not been able to find a solution. Any help is massively appreciated!
Answer by gameplay4all · Apr 29, 2015 at 04:40 PM
http://docs.unity3d.com/ScriptReference/Application.LoadLevelAsync.html
^That's the function that you'll want to use. It loads the scene in the background so that the current scene will not freeze and so you can play your animation! ;) You could just animate dots by using GUI (legacy or the new GUI)
Good luck!
If this was helpful please mark this answer as the answer :P
Answer by KdRWaylander · Apr 15, 2015 at 07:49 AM
Hey :)
One way could be using GIFs-like animation !
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How to add keyframe animation to an imported FBX. 0 Answers
Unity WebGL game on itch.io loads different scene than in editor 0 Answers
Animation at the end of the level 1 Answer