Example #1
0
        void ShowBanner(bool flag)
        {
            if (!_bannerLoaded)
            {
                return;
            }

            _bannerShowing = flag;
            _banner.ShowBanner(flag);
        }
Example #2
0
        IEnumerator CoroutShowBanner()
        {
            bannerIsShowed = true;

            if (bannerNetwork != BannerNetwork.NULL)
            {
                                #if ENABLE_ADMOB
                if (bannerNetwork == BannerNetwork.Admob)
                {
                    bannerIsShowed = false;

                    print("@@@@@@ show banner");
                    yield return(new WaitForSeconds(0.1f));

                    banner.ShowBanner();
                    OnBannerShowed += AdsManager_OnBannerShowed;
                }
                                #endif
            }

            yield return(0);
        }
 public void ShowBanner()
 {
     banner.ShowBanner();
 }