i got a Loading screen but the % are not working it just stays at 100% it does Load the Level but the % dont show the amout that has been loaded
Heres thecode
function OnGUI(){
GUI.Box(Rect(Screen.width/4+180,Screen.height/2-30,280,50), "");
if (Application.CanStreamedLevelBeLoaded(1)) {
Application.LoadLevel(1);
GUI.Label(Rect(Screen.width/4+200,Screen.height/2-25,285,150), "Starting..Loading the game: "+Mathf.Floor(Application.GetStreamProgressForLevel((Application.loadedLevel+1))*100)+" %");
}else{
GUI.Label(Rect(Screen.width/4+200,Screen.height/2-25,285,150), "Starting..Loading the game: "+Mathf.Floor(Application.GetStreamProgressForLevel((Application.loadedLevel+1))*100)+" %");
}
}
Thank in advance