Hi, is somebody know how i can make progress bar i mean really progress bar, that will make itself as long as the progress of loading level is? I want it to appear when next level start loading. It can be in JS or C#.
Thanks in advance and sorry for my english.
This is possible if you load your level a-syncronous and change your slider acording to the progress of the a-syncronous operation.
A sample code would look like something like this
IEnumerator NewGame() { AsyncOperation async = Application.LoadLevelAsync(1); while (!async.isDone) { levelProgressBar.sliderValue = async.progress; yield return null; } }