This commit is contained in:
2024-09-12 13:46:42 +08:00
parent 1c9aa38385
commit 5f1b081374
16 changed files with 186 additions and 215 deletions

View File

@@ -25,7 +25,7 @@ import { MonSet } from "../common/config/MonSet";
@ecs.register(`Initialize`)
export class Initialize extends ecs.Entity {
LoadingView!: LoadingViewComp;
// data:data=null!;
protected init() {
@@ -68,8 +68,8 @@ export class Initialize extends ecs.Entity {
}
// 设置语言包路径
oops.language.pack.json = oops.config.game.languagePathJson;
oops.language.pack.texture = oops.config.game.languagePathTexture;
// oops.language.pack.json = oops.config.game.languagePathJson;
// oops.language.pack.texture = oops.config.game.languagePathTexture;
// 加载语言包资源
oops.language.setLanguage(lan, next);