public void StartShowAd() { if (adIsReady) { UWP_EventManager.ShowAdvertisement(); StartCoroutine(WaitingForResult()); } }
public static void LoadAd() { if (Instance) { Instance.StartLoadingAd(); return; } UWP_EventManager.LoadAdvertisement(); }
public void StartLoadingAd() { if (adIsReady) { info.text = "ad is ready to show"; return; } info.text = "start loading ad"; UWP_EventManager.LoadAdvertisement(); StartCoroutine(WaitingForResult()); StartCoroutine(WaitCount()); }