Example #1
0
 public void OnNewGameChange(string text)
 {
     if (_selectedGame != null && newGameInput.text.Trim() != string.Empty)
     {
         _selectedGame.SetIsOn(false);
         _selectedGame = null;
     }
 }
Example #2
0
 public void SelectedGame(ExistingSaveManager existingGame)
 {
     _selectedGame = existingGame;
     if (existingGame != null)
     {
         newGameInput.text = string.Empty;
     }
 }
Example #3
0
 public void SelectedGame(ExistingSaveManager existingGame)
 {
     _selectedGame = existingGame;
     if (existingGame != null)
     {
         newGameInput.text = string.Empty;
     }
 }
Example #4
0
 public void OnNewGameChange(string text)
 {
     if (_selectedGame != null && newGameInput.text.Trim() != string.Empty)
     {
         _selectedGame.SetIsOn(false);
         _selectedGame = null;
     }
 }