Example #1
0
        void HandleonInterstitialAdShowSucceededEvent()
        {
            AudioListener.volume = 0;
            FullscreenAdShowing  = true;

            if (mAdsInterstitialTimeoutThread != null)
            {
                StopCoroutine(mAdsInterstitialTimeoutThread);
                mAdsInterstitialTimeoutThread = null;
            }

            if (AdsManager.EventOnFullScreenAdsShown != null)
            {
                AdsManager.EventOnFullScreenAdsShown();
            }
        }
Example #2
0
        void HandleonRewardedVideoAdOpenedEvent()
        {
            AudioListener.volume = 0;
            FullscreenAdShowing  = true;
            mHaveRewarded        = false;

            if (mAdsRewardTimeoutThread != null)
            {
                StopCoroutine(mAdsRewardTimeoutThread);
                mAdsRewardTimeoutThread = null;
            }

            if (AdsManager.EventOnFullScreenAdsShown != null)
            {
                AdsManager.EventOnFullScreenAdsShown();
            }
            //StartCoroutine(CRAdsRewardInsurance());
        }