future 1 year ago
parent
commit
f2ad5c8b6c
2 changed files with 10 additions and 9 deletions
  1. 9 9
      assets/edit_game.scene
  2. 1 0
      assets/script/run/gameManager.ts

+ 9 - 9
assets/edit_game.scene

@@ -117,7 +117,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 960,
-      "y": 960,
+      "y": 960.0000000000002,
       "z": 0
     },
     "_lrot": {
@@ -207,7 +207,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1920,
-      "height": 1920
+      "height": 1920.0000000000002
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -344,7 +344,7 @@
     "_priority": 0,
     "_fov": 45,
     "_fovAxis": 0,
-    "_orthoHeight": 960,
+    "_orthoHeight": 960.0000000000001,
     "_near": 0,
     "_far": 1000,
     "_color": {
@@ -534,7 +534,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 840,
-      "height": 1920
+      "height": 1920.0000000000002
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -7333,7 +7333,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": -510,
+      "y": -510.0000000000001,
       "z": 0
     },
     "_lrot": {
@@ -19657,7 +19657,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 840,
-      "height": 1920
+      "height": 1920.0000000000002
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -180366,7 +180366,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 419.9999999999998,
-      "height": 1870
+      "height": 1870.0000000000002
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -180591,7 +180591,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 419.9999999999998,
-      "height": 1920
+      "height": 1920.0000000000002
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -183330,7 +183330,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1920,
-      "height": 1920
+      "height": 1920.0000000000002
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 1 - 0
assets/script/run/gameManager.ts

@@ -314,6 +314,7 @@ export class gameManager extends Component {
     }
 
     public startLevelGame(callback=null){
+        this.mGameRun.unInit()
         this.initEvent()
         if(callback!=null) { callback() }
         // console.log("this.mGameData",this.mGameData,this.mCurSceneIndex)