public void ShowInterstitialAd()
    {
        if (!_IsInited)
        {
            Debug.LogWarning("ShowInterstitialAd shoudl be called only after Init function. Call ignored");
            return;
        }

        AN_GoogleAdProxy.ShowInterstitialAd();
    }
Exemplo n.º 2
0
    public void ShowInterstitialAd()
    {
        if (!_IsInited)
        {
            Debug.LogWarning("ShowInterstitialAd shoudl be called only after Init function. Call ignored");
            return;
        }

        if (IsEditorTestingEnabled)
        {
            SA_EditorAd.OnInterstitialLeftApplication += HandleOnInterstitialLeftApplication_Editor;
            SA_EditorAd.OnInterstitialFinished        += HandleOnInterstitialFinished_Editor;
            SA_EditorAd.Instance.ShowInterstitial();
            OnInterstitialOpened();
            return;
        }

        AN_GoogleAdProxy.ShowInterstitialAd();
    }