public override void ShowInterstitial(string key = null) { if (IsLoadedInterstitial(key)) { Chartboost.showInterstitial(CBLocation.Default); AdsMaster.OnDisplayAd(this, AdType.Interstitial); } }
public override void ShowReward() { if (IsRewardReady) { Chartboost.showRewardedVideo(CBLocation.Default); AdsMaster.OnDisplayAd(this, AdType.Rewarded); } }
public override void ShowReward() { if (IsRewardReady) { var options = new ShowOptions { resultCallback = HandleShowResultReward }; AdsMaster.OnDisplayAd(this, AdType.Rewarded); Advertisement.Show(RewardedPlacementId, options); } }
public override void ShowInterstitial(string key = null) { if (IsLoadedInterstitial()) { AdsMaster.OnDisplayAd(this, AdType.Interstitial); var options = new ShowOptions { resultCallback = HandleShowResultInterstitial }; Advertisement.Show(VideoPlacementId, options); } }