public IEnumerator LoadGame()
{
#if UNITY_IOS || UNITY_ANDROID
if (AdVersion)
{
//showLoading.SetActive(true);
while (!Advertisement.IsReady())
yield return new WaitForSeconds(0.1f);
//ShowOptions options = new ShowOptions();
//options.resultCallback = AdCallbackhandler;
//Advertisement.Show("", options);
Advertisement.Show();
while (Advertisement.isShowing)
yield return new WaitForSeconds(0.1f);
}
#endif
yield return new WaitForSeconds(0.1f);
DoLoad();
}
adversion will = true so ignore that…
Ok so here’s the deal…this DOES work in the editor on pc but as soon as I build to android and start the game it get’s to the ad, shows it, but never calls “DoLoad()”! I’ve tried everything but it just won’t do that part.