Hello everybody,
I was wondering if anybody has used preload successfully to do a load screen on the iPhone. Basically what I was hoping for was a screen where I would show a little animated “Loading…” image and a wallpaper, and then when it is done the player could touch the screen and the next level would already be loaded and ready to start.
Currently I just load the next level as soon as I start the loading screen, but there is information I would like them to see so a button to continue would be ideal.
This has been asked before and AFAIK there isn’t a simple way to preload a level in Unity - once it starts loading the next level it freezes whatever is happening in the current level.
I’m using a method that does half of what you want: For levels that take a few seconds to load, I simply create an inactive “Loading” guiText object and make it active as soon as the button is hit. That way at least there is a visual indicator to the player that something is happening while they wait a few seconds for the level to load.
Now that I’m thinking about it - it would interesting to try this with an animated object using DontDestroyOnLoad(), then turn it off at the start of the next level…
would it animate during the load? Hmm…
Thanks for reply. I had looked around on the forum but hadn’t found any answers.
I guess I will just keep experimenting.