From 4bbe3cbff28d5747e0800eb6fecd7e6d5e851991 Mon Sep 17 00:00:00 2001 From: "guoqing.zhu" <1521292690@qq.com> Date: Mon, 30 May 2022 13:12:57 +0800 Subject: [PATCH] updaye --- assets/res/prefabs/game/GameOverNew.prefab | 12 ++++++------ assets/scripts/UI/UIMain.js | 1 + assets/scripts/game/GameOverUINew.js | 1 - 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/res/prefabs/game/GameOverNew.prefab b/assets/res/prefabs/game/GameOverNew.prefab index 98a008f7..697eda49 100644 --- a/assets/res/prefabs/game/GameOverNew.prefab +++ b/assets/res/prefabs/game/GameOverNew.prefab @@ -3959,12 +3959,12 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 0, "y": 0.5 }, "_position": { "__type__": "cc.Vec3", - "x": -160, + "x": -190, "y": 40, "z": 0 }, @@ -4978,12 +4978,12 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 0, "y": 0.5 }, "_position": { "__type__": "cc.Vec3", - "x": -160, + "x": -190, "y": 40, "z": 0 }, @@ -5997,12 +5997,12 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 0, "y": 0.5 }, "_position": { "__type__": "cc.Vec3", - "x": -160, + "x": -190, "y": 40, "z": 0 }, diff --git a/assets/scripts/UI/UIMain.js b/assets/scripts/UI/UIMain.js index 209b98f1..580ead59 100644 --- a/assets/scripts/UI/UIMain.js +++ b/assets/scripts/UI/UIMain.js @@ -174,6 +174,7 @@ cc.Class({ onLoad() { cc.audioEngine.stopAll(); + console.log("打开uimain") }, start() { //test diff --git a/assets/scripts/game/GameOverUINew.js b/assets/scripts/game/GameOverUINew.js index 7aafda9e..e83dedd1 100644 --- a/assets/scripts/game/GameOverUINew.js +++ b/assets/scripts/game/GameOverUINew.js @@ -348,7 +348,6 @@ cc.Class({ onclickover() { cc.director.loadScene('MainScene'); - cc.Notifier.emit("refreshBaseInfo"); }, // update (dt) {},