void Start()
        {
            // Show Heyzap Test Suite if needed.
            if (EM_Settings.Advertising.Heyzap.ShowTestSuite)
            {
                HeyzapClient.ShowTestSuite();
            }

            AutoAdLoadingMode = EM_Settings.Advertising.AutoAdLoadingMode;
        }
Beispiel #2
0
        void Start()
        {
            // Show Heyzap Test Suite if needed.
            #if EM_HEYZAP
            if (EM_Settings.Advertising.HeyzapShowTestSuite)
            {
                HeyzapClient.ShowTestSuite();
            }
            #endif

            // Start the coroutine that checks for ads readiness and performs loading if they're not.
            isAutoLoadDefaultAds = EM_Settings.Advertising.IsAutoLoadDefaultAds;
            if (isAutoLoadDefaultAds)
            {
                autoLoadAdsCoroutine = CRAutoLoadAds();
                StartCoroutine(autoLoadAdsCoroutine);
            }
        }