Sfoglia il codice sorgente

Merge branch 'master' of http://git.mokasz.com/zouyong/mk_framework into master

fengcong 5 anni fa
parent
commit
a9f8d44688
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      assets/script/mk/system/AdSystem.ts

+ 3 - 3
assets/script/mk/system/AdSystem.ts

@@ -26,13 +26,13 @@ export default class AdSystem {
 
     /** 初始化广告 */
     public init() {
-        
+
         //判定下平台
         if (cc.sys.os == cc.sys.OS_ANDROID) {
-            mk.ad.ifShowAd = true;
+            this.ifShowAd = true;
         }
         else {
-            mk.ad.ifShowAd = false;
+            this.ifShowAd = false;
         }
 
         //初始化Topon广告SDK