示例#1
0
 /// <summary>
 /// 切换场景
 /// </summary>
 /// <param name="SceneName">场景名字</param>
 public void LoadLevel(string scenename)
 {
     UI_Manage.CreateInstance().emptyUI();
     SceneName = scenename;
     EditorSceneManager.LoadScene("Scene_Loading");
     Debug.Log(CG_Windows.Format((string)CG_Config.LABEL["QHCJ"], "Scene_Loading"));
 }
示例#2
0
 public static UI_Manage CreateInstance()
 {
     if (_instance == null)
     {
         _instance = new UI_Manage();
     }
     return(_instance);
 }