예제 #1
0
 public void DestroyButton()
 {
     if (this.SelectedAdType == AdType.Banner)
     {
         this.console.Append("Destroying Banner");
         HZBannerAd.Destroy();
     }
 }
예제 #2
0
 public void DestroyBannerAd()
 {
     #if EM_HEYZAP
     HZBannerAd.Destroy();
     #else
     Debug.LogError(NO_SDK_MESSAGE);
     #endif
 }
예제 #3
0
        public void HideBanner()
        {
                        #if API_ADS_HEYZAP
            HZBannerAd.Hide();
            HZBannerAd.Destroy();
                        #endif

            if (BannerRemoved != null)
            {
                BannerRemoved();
            }
            _bannerDisplayed = false;
        }
예제 #4
0
 public void ToggleBanner()
 {
     if (!bannerShowing)
     {
         HZBannerShowOptions showOptions = new HZBannerShowOptions();
         showOptions.Position = HZBannerShowOptions.POSITION_BOTTOM;
         HZBannerAd.ShowWithOptions(showOptions);
         bannerShowing = true;
     }
     else
     {
         HZBannerAd.Hide();
         HZBannerAd.Destroy();
         bannerShowing = false;
     }
 }
예제 #5
0
 protected override void InternalDestroyBannerAd(AdPlacement _)
 {
     #if EM_HEYZAP
     HZBannerAd.Destroy();
     #endif
 }
예제 #6
0
 void DestroyAdBanner()
 {
     HZBannerAd.Destroy();
 }
예제 #7
0
 public void DestroyBanner()
 {
     HZBannerAd.Destroy();
     Toaster.ShowDebugToast("Destroying banner ad");
 }
예제 #8
0
 public void DestroyBannerAd()
 {
     HZBannerAd.Destroy();
 }