예제 #1
0
    public void LoadRewardedVideo()
    {
        if (!_IsInited)
        {
            Debug.LogWarning("ShowRewardedVideo shoudl be called only after Init function. Call ignored");
            return;
        }

        if (IsEditorTestingEnabled)
        {
            SA_EditorAd.OnVideoLoadComplete += HandleOnVideoLoadComplete_Editor;
            SA_EditorAd.Instance.LoadVideo();
            return;
        }

        AN_GoogleAdProxy.LoadRewardedVideo();
    }