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

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

        if (IsEditorTestingEnabled)
        {
            SA_EditorAd.OnInterstitialLoadComplete += HandleOnInterstitialLoadComplete_Editor;
            SA_EditorAd.Instance.LoadInterstitial();
            return;
        }

        AN_GoogleAdProxy.LoadInterstitialAd();
    }