Esempio n. 1
0
    void OnGUI()
    {
        if (_isDownLoadFinish)
        {
            if (GUI.Button(new Rect(0, 0, 100, 100), "Next"))
            {
                LoadSceneMgr loadSceneMgr = GameObject.FindObjectOfType <LoadSceneMgr>();
                loadSceneMgr.LoadScene("1001", "1001");
                //loadSceneMgr.LoadSceneAsync("1001", "1001.ab");

                //UnityEngine.SceneManagement.SceneManager.LoadScene("empty");
            }
        }
    }
Esempio n. 2
0
 public void SceneMove_Load(string sceneName)
 {
     LoadSceneMgr.LoadScene(sceneName);
 }