IEnumerator OnUnityAdsDidErrorCoro(string message) { yield return(null); Debug.LogError($"PlatformUnityAdsInit.OnUnityAdsDidError: message={message}"); PlatformUnityAds.ShowAdsErrorPopup(message); }
IEnumerator OnUnityAdsDidFinishCoro(string placementId, ShowResult showResult) { yield return(null); PlatformInterface.instance.logger.Log($"PlatformUnityAdsInit.OnUnityAdsDidFinish: placementId={placementId}, showResult={showResult}"); PlatformInterface.instance.backgroundTimeCompensator.EndBackgroundState(this); PlatformUnityAds.HandleShowResult(showResult); }
public void ShowContinueAd_UnityAds() { PlatformUnityAds.TryShowRewardedAd(null, null); }
public void ShowInterstitialAd_UnityAds() { PlatformUnityAds.TryShowInterstitialAd(null, null, 1); }