public void OnFinishLoadInterstitialAd(object sender, NendAdInterstitialLoadEventArgs args) { Handheld.StopActivityIndicator(); NendAdInterstitialStatusCode statusCode = args.StatusCode; switch (statusCode) { case NendAdInterstitialStatusCode.SUCCESS: // Move to the next scene when Interstitial-AD load completed. Debug.Log(">> OnFinishLoadInterstitialAd: SUCCESS"); SceneManager.LoadScene("First"); break; default: // When failed to get of Interstitial-AD, try to reload. Debug.Log(">> OnFinishLoadInterstitialAd: FAILURE"); ReloadAd(); break; } }
public void OnFinishLoadInterstitialAd(object sender, NendAdInterstitialLoadEventArgs args) { switch (args.StatusCode) { case NendAdInterstitialStatusCode.SUCCESS: Debug.Log(">> OnFinishLoadInterstitialAd: SUCCESS"); break; case NendAdInterstitialStatusCode.INVALID_RESPONSE_TYPE: Debug.Log(">> OnFinishLoadInterstitialAd: INVALID_RESPONSE_TYPE"); break; case NendAdInterstitialStatusCode.FAILED_AD_REQUEST: Debug.Log(">> OnFinishLoadInterstitialAd: FAILED_AD_REQUEST"); break; case NendAdInterstitialStatusCode.FAILED_AD_DOWNLOAD: Debug.Log(">> OnFinishLoadInterstitialAd: FAILED_AD_DOWNLOAD"); break; } }
public void OnFinishLoadInterstitialAd(object sender, NendAdInterstitialLoadEventArgs args) { switch (args.StatusCode) { case NendAdInterstitialStatusCode.SUCCESS: Debug.Log("Load ad success"); break; case NendAdInterstitialStatusCode.FAILED_AD_DOWNLOAD: Debug.Log("Failed ad download"); break; case NendAdInterstitialStatusCode.FAILED_AD_REQUEST: Debug.Log("Failed ad request"); break; case NendAdInterstitialStatusCode.INVALID_RESPONSE_TYPE: Debug.Log("Invalid response type"); break; } Callback(); }