Пример #1
0
 public void StartShowAd()
 {
     if (adIsReady)
     {
         UWP_EventManager.ShowAdvertisement();
         StartCoroutine(WaitingForResult());
     }
 }
Пример #2
0
 public static void LoadAd()
 {
     if (Instance)
     {
         Instance.StartLoadingAd();
         return;
     }
     UWP_EventManager.LoadAdvertisement();
 }
Пример #3
0
    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());
    }