Example #1
0
 private void HandleGameEnd()
 {
     if (_gameEnd)
     {
         _tick += Time.deltaTime / Time.timeScale;
         if (_tick >= _gameEndTime)
         {
             _memoryCard.SaveData();
             SceneManager.LoadScene("Menu");
         }
     }
 }