Пример #1
0
 public void EndMatch()
 {
     StartCoroutine(CameraUtils.CameraZoom(mainCamera, 20));
     StartCoroutine(CameraUtils.FocusOnObject(mainCamera, player.gameObject));
     InputManager.disableInput = true;
     if (WonGame())
     {
         scoreboardManager.WonGame(score, qttVirus);
     }
     else
     {
         scoreboardManager.LostGame(score, qttVirus);
     }
 }