private void cacheAdClicked()
    {
        if (adIsCahced)
        {
            MessageText.text = "Ad already cached!";
            return;
        }

        // its a good idea to cache ads when the level starts, then show it when the level ends
        MessageText.text = "Caching Ad...";
        ad.Cache();
    }
예제 #2
0
 private void showAdClicked()
 {
     // its a good idea to cache ads when the level starts, then show it when the level ends
     ad.Cache();
 }