Esempio n. 1
0
        public static void InitAd(string source)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            Debug.Log("AdBanner:InitAd");
            Moonma.AdKit.AdConfig.AdConfig.main.InitPriority(source, AdConfigParser.SOURCE_TYPE_BANNER);
            platformWrapper.InitAd(source);
        }
Esempio n. 2
0
        public static void SetScreenSize(int w, int h)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.SetScreenSize(w, h);
        }
Esempio n. 3
0
        //y 基于屏幕底部
        public static void SetScreenOffset(int x, int y)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.SetScreenOffset(x, y);
        }
Esempio n. 4
0
        public static void ShowAd(bool isShow)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

            platformWrapper.ShowAd(isShow);
        }