Ejemplo n.º 1
0
 void HandleGameOver()
 {
     if (SecondChanceManager.isSecondChance)
     {
         ScoreManager.Instance.AddGameScoreToTotalScore();
         scorePanel.CalculateScore();
         summaryFade.Show();
     }
     else
     {
         secondChanceTimeBar.Tick(HandleTimeUp);
         AnalyticsEvent.AdOffer(true, null, AdManager.Instance.rewardedVideoAd, new Dictionary <string, object>
         {
             { "ad_type", "second_chance" }
         });
     }
 }