public void InterstitialOut_Ended()
        {
            CustomAdsManager cam = transform.root.GetComponent <CustomAdsManager> ();

            if (cam)
            {
                cam.SetRaycastTarget(false);
                cam.EnableInterstitialHolder(false);
            }
        }
Пример #2
0
        private void Init()
        {
            if (!inited)
            {
                Instantiate(chartboostPrefab);

                if (!customAdsManager)
                {
                    customAdsManager = GetComponent <CustomAdsManager> ();
                }
                if (!admobManager)
                {
                    admobManager = GetComponent <AdmobManager> ();
                }
                if (!chartboostManager)
                {
                    chartboostManager = GetComponent <ChartboostManager> ();
                }

                customAdsManager.RequestScheme();

                inited = true;
            }
        }