Log in or register to post comments

[HELP] Loading Progress Bar %

April 27, 2013 - 10:26am #1

I'm trying to do, and then by the data from the various threads, but I can't do it at all.

I'm using Unity Pro 4.1.2

I want to make a page Load before. My main page which is my very big Model. It takes about 3 minutes to Load Android on very long. Therefore, I thought I should show Progress Bar lets users see how to Load now.

Which is what I say. Working principle, it is identical to the Function in the Player Setting for Android is the "Show Loading Indicator", but this one is a circle, rotate, only that we do not know at all that it will Load to the next page when completed.I would like to make it display as a percentage value on the screen.

I never wanted to let everyone in this one that I need to do?

Help me, please. I don't know what to do?

The question that I asked in this Vuforia I think the Moderator should help me.
And here is my Code.(C#)

 

using UnityEngine;

using System.Collections;

 

public class Probar : MonoBehaviour {

 

    // Use this for initialization

    void Start () {

 

        Handheld.SetActivityIndicatorStyle(AndroidActivityIndicatorStyle.InversedLarge);

        Handheld.StartActivityIndicator();

 

        Application.LoadLevel("Vuforia-4-ImageTargets");

    }

    

    // Update is called once per frame

    void Update () {

 

        

    }

    

    void OnGUI(){

 

    }

}

 

[HELP] Loading Progress Bar %

January 17, 2015 - 4:47pm #4

Incrementally load your scenes in Unity3D (free) with loading bar!
Using Unity 4.6 new GUI system or OnGUI! (will also work with NGUI)

http://www.assetstore.unity3d.com/en/#!/content/28035

[HELP] Loading Progress Bar %

April 28, 2013 - 12:58am #3

I tried this Code.

 

using UnityEngine;
using System.Collections;

public class Probar : MonoBehaviour {

	 IEnumerator Start() {
        AsyncOperation async = Application.LoadLevelAsync("Vuforia-4-ImageTargets");
		while (!async.isDone)
		{
			Debug.Log(async.progress);
			yield return async;
		}
    }
	
}

 

 

When it does Load the next scene it hold a one to display the scene. The problem is that the values that must be displayed while it Load the next scene is made, it does not display the Real Time at all it will display is the next scene at the Load is finished and the value displayed is 0. ", async.progress:" Moderato introduction I want to put the Code? If the Moderator has been successfully. I see the Code a bit.
 
 
 
 
 
Thank you very much

 

 

[HELP] Loading Progress Bar %

April 27, 2013 - 12:26pm #2
Log in or register to post comments