コード例 #1
0
 void UpdateWinLose()
 {
     if (_gameplayController.CurrentScore >= _gameplayController.EndlessTargetScore)
     {
         _gameplayController.AnnounceVictory();
     }
     else if (!_gameplayController.HasAnyChance())
     {
         _gameplayController.AnnounceDefeated();
     }
 }
コード例 #2
0
 void UpdateWinLose()
 {
     if (_bubbleList.Count == 0)
     {
         _gameplayController.AnnounceVictory();
     }
     else if (!_gameplayController.HasAnyChance())
     {
         _gameplayController.AnnounceDefeated();
     }
 }