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) {},