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