示例#1
0
 private void GameFailed()
 {
     if (highScore > 0)
     {
         gameCenter.UpdateScore(highScore);
     }
     PlayerPrefs.SetInt(PrefsKey.HighScore, highScore);
     isStart     = false;
     isFailed    = true;
     curPassTime = 0.0f;
     ui.GameFail(GamePlayMgr.Instance.GetChosenIndex(), kanaType);
     audioPlayer.StopBGM();
 }