Exemplo n.º 1
0
 //Called when a tie game is detected
 private void GameDraw()
 {
     //stop inputs
     DisableControls();
     //record game results
     GameDataRecorder.instance.RecordGameFinish(3);
     //display message
     UIManager.FinishScreen("Not Everyone Can Be Winners", "Draw!");
     //log the game to console
     GameDataRecorder.instance.ReportGame(GameDataRecorder.instance.MatchList.Count - 1);
     //play draw music
     AudioManager.instance.PlayDraw();
     return;
 }