예제 #1
0
 void CBDidCloseInterstitial(CBLocation location)
 {
     if (InterstitialAdCompleted != null)
     {
         InterstitialAdCompleted(InterstitialAdNetwork.Chartboost, AdLocation.LocationFromName(location.ToString()));
     }
 }
예제 #2
0
        void CBDidCloseRewardedVideo(CBLocation location)
        {
            if (isCBRewardedAdCompleted)
            {
                isCBRewardedAdCompleted = false;

                if (RewardedAdCompleted != null)
                {
                    RewardedAdCompleted(RewardedAdNetwork.Chartboost, AdLocation.LocationFromName(location.ToString()));
                }
            }
            else
            {
                if (RewardedAdSkipped != null)
                {
                    RewardedAdSkipped(RewardedAdNetwork.Chartboost, AdLocation.LocationFromName(location.ToString()));
                }
            }
        }