Browse Source

抖音平台隐藏GM

baowen 14 hours ago
parent
commit
37e47df2d8
1 changed files with 6 additions and 1 deletions
  1. 6 1
      assets/editor/script/SuperFindPanel.ts

+ 6 - 1
assets/editor/script/SuperFindPanel.ts

@@ -1,4 +1,4 @@
-import { _decorator, Component, Label, Node, Prefab } from 'cc';
+import { _decorator, Component, Label, Node, Prefab, sys } from 'cc';
 import { SelectDifficultyPanel } from './SelectDifficultyPanel';
 import { SelectSkinPanel } from './SelectSkinPanel';
 import { SelectMapPanel } from './SelectMapPanel';
@@ -45,6 +45,11 @@ export class SuperFindPanel extends Component {
         this.init()
         EventMgr.ins.addEventListener("refreshLevelInfo",this.refreshInfo,this)
         this.restartCountDown()
+        if(sys.platform == sys.Platform.BYTEDANCE_MINI_GAME)
+        {
+            this.bottom.active = false
+            this.bottom2.active = true
+        }
     }
     init()
     {