//游戏的开始与暂停 public void PauseMusic() { if (!gameStart) { return; } simpleMusicPlayer.Pause(); }
public void Pause() { Debug.Log("pause"); pauseCanvas.gameObject.SetActive(true); simpleMusicPlayer.Pause(); }