コード例 #1
0
    public void ShowInterstitialAd()
    {
        if (!_IsInited)
        {
            Debug.LogWarning("ShowInterstitialAd shoudl be called only after Init function. Call ignored");
            return;
        }

        AN_GoogleAdProxy.ShowInterstitialAd();
    }
コード例 #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();
    }