薛鸿潇 пре 5 година
родитељ
комит
f354cb5aba
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      assets/script/before/GamePlay.ts

+ 1 - 1
assets/script/before/GamePlay.ts

@@ -220,7 +220,7 @@ export default class GamePlay extends cc.Component {
         // this.node_top.y = (cc.winSize.height - this.node_top.height) * 0.5 + 5;
         const world_pos = gData.gameData.gameStyle.node_top_ui.parent.convertToWorldSpaceAR(gData.gameData.gameStyle.node_top_ui.getPosition());
         const node_pos = this.node_top.parent.convertToNodeSpaceAR(world_pos);
-        this.node_top.y = node_pos.y - 20;
+        this.node_top.y = node_pos.y - 40;
     }
 
     update(dt) {