using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// UGUISceneLoader script.
/// This is used to show the progress of scene loading.
/// </summary>
public class UGUISceneLoader : MonoBehaviour
{
public Slider progressBar;
public Text progressText;
private AsyncOperation _async;
void Start()
{
// Scene Load asynchronously.
_async = Application.LoadLevelAsync(SceneManager.Instance.currentLoadScene);
Debug.Log (SceneManager.Instance.currentLoadScene);
using UnityEngine.UI;
/// <summary>
/// UGUISceneLoader script.
/// This is used to show the progress of scene loading.
/// </summary>
public class UGUISceneLoader : MonoBehaviour
{
public Slider progressBar;
public Text progressText;
private AsyncOperation _async;
void Start()
{
// Scene Load asynchronously.
_async = Application.LoadLevelAsync(SceneManager.Instance.currentLoadScene);
Debug.Log (SceneManager.Instance.currentLoadScene);