Esempio n. 1
0
 public void ButtonOkayClick()
 {
     Modules.CheckShowAds();
     Modules.UpdateIndexRunTerrain();
     if (Modules.scorePlayer > Modules.totalScore)
     {
         Modules.totalScore = Modules.scorePlayer;
         Modules.SaveScore();
     }
     Modules.totalCoin += Modules.coinPlayer;
     Modules.SaveCoin();
     transform.gameObject.SetActive(false);
     Modules.autoTapPlay = false;
     Camera.main.GetComponent <PageMainGame>().ResetGame();
 }