I want to create a button which loads the scene as well as shows the loading progress bar. How to do this? Thank You !
2 Answers
You need to know how to use Co routine for this to work. Because you will use LoadLevelAsync, which will run your Co routine call together with the LoadLevelAsync. So while loading, your call for the Progress bar will check the current progress and have a boolean check if the Load is complete.
Using the new UI scroll bar for loading is easier but it I would need to in form you the step by step to set it up, cause it is mainly an editor set up rather than code. So I will redirect you to the old GUI function which takes care of it. This has been answered in Unity3d Answer page already.
http://answers.unity3d.com/questions/457594/how-to-make-a-progress-bar-for-loading-next-scene.html