How to make loading screens? (421534)

How do I make a loading screen with a bar that tracks the loading progress? I’m not sure how to even begin with this? I’d love for it to show the loading screen until the scene is loaded and ready to play (without any load up lag or glitches). Thoughts?

How long does it take to load your scene now?

Well on iPhone 4 devices, it loads right away, but on a 3g device it takes up to 10 seconds

Perhaps, right before you call Application.LoadLevel(), you could actually pop something in front of the screen. I don’t know how to read the remaining time on the LoadLevel, but it would be a decent enough start.

You can’t have the level that’s currently loading show a progress indicator; it can’t do anything until it’s loaded. But you can have a ‘loading level’ pre-scene that’s small and fast loading. Have that show a progress bar and call [LoadLevelAsync to load the main level.

That function returns a object you can use to drive the progress bar.](Unity - Scripting API: Application.LoadLevelAsync)