Ejemplo n.º 1
0
    public AdMobInterstitial ad; //реклама

    public void WinOK()
    {
        ad.ShowAds();

        // Music.PlaySound("Button");
        if (gameData != null && board.level < 98)
        {
            gameData.saveData.isActiv[board.level + 1] = true;
            gameData.Save();
        }
        SceneManager.LoadScene(sceneToLoad);

        //startManager.startPanel.SetActive(false);
    }
Ejemplo n.º 2
0
 public void AdmobShow()
 {
     if (deadCounter % 3 == 0)
     {
         ad.ShowAds();
         Debug.Log(deadCounter);
         Debug.Log("показ баннера");
     }
 }