Beispiel #1
0
    /**
     * Check if an interstitial ad is ready
     *
     * @return true if an interstitial ad is ready, false if not
     */
    public static bool IsInterstitialReady(string placement = INTERSTITIAL_PLACEMENT_DEFAULT)
    {
        InitializeEnhance();

#if UNITY_EDITOR
        return(FGLEditorInternals.IsInterstitialReady(placement));
#elif UNITY_ANDROID
        return(FGLAndroidInternals.IsInterstitialReady(placement));
#elif UNITY_IOS
        return(FGLiOSInternals.IsInterstitialReady(placement));
#else
        return(true);
#endif
    }