/// <summary> /// 结束游戏 /// </summary> public void ExitGame() { isStartGame = false; SceneManager.LoadScene("Loading"); LoadName.GetInstance().loadName = "Menu"; }
/// <summary> /// 开始游戏 /// </summary> public void StartGame() { isStartGame = true; SceneManager.LoadScene("Loading"); LoadName.GetInstance().loadName = music._Name; }