Exemple #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);
        }
Exemple #2
0
        public static void SetScreenSize(int w, int h)
        {
            BasePlatformWrapper platformWrapper = PlatformWrapper.platform;

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

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

            platformWrapper.ShowAd(isShow);
        }