同步最新框架代码

This commit is contained in:
dgflash
2024-07-25 13:34:23 +08:00
parent e383a20099
commit aa0e93b60d
2 changed files with 1 additions and 6 deletions

View File

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

View File

@@ -52,16 +52,11 @@ export class InitResSystem extends ecs.ComblockSystem implements ecs.IEntityEnte
queue.push((next: NextFunction, params: any, args: any) => {
// 设置默认语言
let lan = oops.storage.get("language");
// if (lan == null) {
if (lan == null || lan == "") {
lan = "zh";
oops.storage.set("language", lan);
}
// 设置语言包路径
oops.language.pack.json = oops.config.game.languagePathJson;
oops.language.pack.texture = oops.config.game.languagePathTexture;
// 加载语言包资源
oops.language.setLanguage(lan, next);
});