/// <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")); }
public static UI_Manage CreateInstance() { if (_instance == null) { _instance = new UI_Manage(); } return(_instance); }