Sfoglia il codice sorgente

控制公告开关用常规提现开关

kaka 5 anni fa
parent
commit
a8c1a53a1d

+ 1 - 1
assets/script/game/component/tween/TweenCast.ts

@@ -36,7 +36,7 @@ export default class TweenCast extends cc.Component {
     }
 
     onLoad() {
-        if (gData.gameData.funOpenData['8'] == '1') {
+        if (gData.gameData.funOpenData['6'] == '1') {
             this.node.active = true
             this.play();
         }

+ 0 - 16
assets/script/mk/sdk/ad/toppon/AnyThinkAdsMgr/ATInterstitial.ts

@@ -67,17 +67,6 @@ export default class ATInterstitial extends zgSingleton {
 
         this.interAdState = InterAdState.Loading;
         this.ATInterstitialJS.loadInter(type);
-
-        // // console.log('99999999   loadInterPre  ', type)
-        // if (!this.onloadInter) {
-        //     this.onloadInter = true
-        //     // console.log('99999999   loadInter  ', type)
-        //     //FC:UROI事件
-        //     if (GameM.commonData.ifUROI) {
-        //         let eventID = EncryptUtil.randomString(32);
-        //         AdM.sendUROIEvent(eventID, '', GameM.commonData.interPlaceId, "ad_request", "interstitial", 'other', '')
-        //     }
-        // }
     }
 
     /**
@@ -117,11 +106,6 @@ export default class ATInterstitial extends zgSingleton {
         if (this.ifLoadShow) {
             this.showInter(this.interAdType);
         }
-
-        // if (GameM.commonData.ifUROI) {
-        //     let eventID = EncryptUtil.randomString(32);
-        //     AdM.sendUROIEvent(eventID, '', placementId, "ad_fill", "interstitial", 'other', '')
-        // }
     }
 
     onInterstitialAdLoadFail(placementId, errorInfo) {