瀏覽代碼

升级cc3.6.2

dgflash 3 年之前
父節點
當前提交
fb354c2ce0
共有 3 個文件被更改,包括 7 次插入8 次删除
  1. 1 1
      assets/main.scene
  2. 1 2
      assets/script/game/initialize/bll/InitRes.ts
  3. 5 5
      package.json

+ 1 - 1
assets/main.scene

@@ -227,7 +227,7 @@
     "_priority": 1073741824,
     "_fov": 45,
     "_fovAxis": 0,
-    "_orthoHeight": 409.1338582677165,
+    "_orthoHeight": 360,
     "_near": 1,
     "_far": 2000,
     "_color": {

+ 1 - 2
assets/script/game/initialize/bll/InitRes.ts

@@ -7,7 +7,6 @@
 import { oops } from "../../../../../extensions/oops-plugin-framework/assets/core/Oops";
 import { AsyncQueue, NextFunction } from "../../../../../extensions/oops-plugin-framework/assets/libs/collection/AsyncQueue";
 import { ecs } from "../../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
-import { config } from "../../../../../extensions/oops-plugin-framework/assets/module/config/Config";
 import { UIID } from "../../common/config/GameUIConfig";
 import { Initialize } from "../Initialize";
 import { LoadingViewComp } from "../view/LoadingViewComp";
@@ -57,7 +56,7 @@ export class InitResSystem extends ecs.ComblockSystem implements ecs.IEntityEnte
             }
 
             // 设置语言包路径
-            oops.language.setAssetsPath(config.game.languagePathJson, config.game.languagePathTexture);
+            oops.language.setAssetsPath(oops.config.game.languagePathJson, oops.config.game.languagePathTexture);
 
             // 加载语言包资源
             oops.language.setLanguage(lan, next);

+ 5 - 5
package.json

@@ -1,13 +1,13 @@
 {
   "_sourceId": "c30b28da-749e-479b-bcb6-cecd8d7be9e3",
   "creator": {
-    "version": "3.6.1"
+    "version": "3.6.2"
+  },
+  "dependencies": {
+    "crypto-es": "^1.2.7"
   },
   "description": "游戏项目模板",
   "name": "oops-game-kit",
   "uuid": "00d7d957-a3e8-4ad6-80f4-2fcfb235bca4",
-  "version": "3.6.1",
-  "dependencies": {
-    "crypto-es": "^1.2.7"
-  }
+  "version": "3.6.2"
 }