xx 2 years ago
parent
commit
cd6fbcc3d3

+ 4 - 6
assets/script/play_list/zhaocha_component/view_game_play_mei_nv_zhao_xi_jie.ts

@@ -103,12 +103,10 @@ export class view_game_play_mei_nv_zhao_xi_jie extends Component {
         let self = this;
         let call_back = ()=>{
             if(count>=this.m_data.component.length+1){
-                this.scheduleOnce(()=>{
-                    self.node.active = true;
-                    gameManager.hideLoading();
-                    self.initComponent();
-                    self.initAnswerView();
-                },0.5)
+                self.node.active = true;
+                gameManager.hideLoading();
+                self.initComponent();
+                self.initAnswerView();
             }
         }
         tools.loadRemoteImg(this.m_data.img,(sf)=>{

+ 3 - 5
assets/script/play_list/zhaocha_font/view_game_play_han_zi_zhao_bu_tong.ts

@@ -75,11 +75,9 @@ export class view_game_play_han_zi_zhao_bu_tong extends Component {
         let self = this;
         let call_back = ()=>{
             if(count>=3){
-                this.scheduleOnce(()=>{
-                    self.node.active = true;
-                    gameManager.hideLoading();
-                    self.initGrid();
-                },0.5)
+                self.node.active = true;
+                gameManager.hideLoading();
+                self.initGrid();
             }
         }
         tools.loadRemoteImg(this.m_data.default_img,(sf)=>{

+ 7 - 10
assets/script/play_list/zhaocha_up_down/view_game_play_shuang_tu_zhao_bu_tong.ts

@@ -334,16 +334,13 @@ export class view_game_play_shuang_tu_zhao_bu_tong extends Component {
         let self = this;
         let call_back = ()=>{
             if(count>=2){
-                this.scheduleOnce(()=>{
-                    self.node.active = true;
-                    self.img_1.getComponent(Sprite).spriteFrame = self.img_1_sf;
-                    self.img_2.getComponent(Sprite).spriteFrame = self.img_2_sf;
-                    self.initAnswerView();
-                    self.lab_coin.getComponent(Label).string = gameManager.get_user_coin()+"";
-                    self.lab_title.getComponent(Label).string = self.m_data.name;
-                    gameManager.hideLoading();
-                },0.5)
-
+                self.node.active = true;
+                self.img_1.getComponent(Sprite).spriteFrame = self.img_1_sf;
+                self.img_2.getComponent(Sprite).spriteFrame = self.img_2_sf;
+                self.initAnswerView();
+                self.lab_coin.getComponent(Label).string = gameManager.get_user_coin()+"";
+                self.lab_title.getComponent(Label).string = self.m_data.name;
+                gameManager.hideLoading();
             }
         }
         tools.loadRemoteImg(this.m_data.img1,(sf)=>{