Esempio n. 1
0
        public override void OnLayoutEnable()
        {
            base.OnLayoutEnable();

            m_unityAdBlock = new UM_AdvertisementPlatfromUI("Unity Ads", "unity_icon.png", new UM_UnityAdsResolver(), () => {
                DrawUnityAdsUI();
            });

            m_adMobBlock = new UM_AdvertisementPlatfromUI("Google AdMob", "google_icon.png", new UM_GoogleAdsResolver(), () => {
                DrawAdmobUI();
            });

            m_chartboostBlock = new UM_AdvertisementPlatfromUI("Chartboost", "chartboost_icon.png", new UM_ChartBoostResolver(), () => {
                EditorGUILayout.HelpBox("COMING SOON!", MessageType.Info);
            });
        }
Esempio n. 2
0
        public override void OnLayoutEnable()
        {
            base.OnLayoutEnable();

            m_unityBlock = new UM_AdvertisementPlatfromUI("Unity Analytics", "unity_icon.png", new UM_AnalyticsResolver(), () => {
                UM_UnityAnalyticsUI.OnGUI();
            });

            m_firebaseBlock = new UM_AdvertisementPlatfromUI("Firebase Analytics", "firebase_icon.png", AN_Preprocessor.GetResolver <AN_FirebaseResolver>(), () => {
                UM_FirebaseAnalyticsUI.OnGUI();
            });


            m_facebookBlock = new UM_AdvertisementPlatfromUI("Facebook Analytics", "facebook_icon.png", new UM_FacebookResolver(), () => {
                EditorGUILayout.HelpBox("No additiona settings required.", MessageType.Info);
            });
        }