Beispiel #1
0
 void gameOver()
 {
     stopGeneratingBubbles();
     Helper.gameOver = true;
     Invoke("displaygameOverScreen", 1f);
     if (noOfgamePlays == 5)
     {
         noOfgamePlays = 0;
         displayInterstitialAd();
     }
     else
     {
         displayAdsBanner();
     }
     SaveLoadScript.Save_no_of_game_plays(noOfgamePlays);
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     SaveLoadScript.Save_no_of_game_plays(0);
     Invoke("loadMainMenu", 3f);
 }