Ejemplo n.º 1
0
 void GameEnded()
 {
     ac.PlayGoal();
     SceneController.LoadEndingBox();
     SceneEnded();
     AnimationPlay(false);
     GetComponent <DeathScript>().enabled = false;
     TimeCounter.ToggleTimerActive(false);
     this.enabled = false;
     EndGameVariables.UpdateCurrentNumbers(timeC.timeInSec - 1, DeathScript.GetDeaths());
 }