From 3136d414203737b37bcc6458b258c227901f6888 Mon Sep 17 00:00:00 2001 From: bansomin Date: Tue, 3 Oct 2023 20:54:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=9A=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E5=8A=A0=E8=BD=BD=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit InitRes加载多语言字体路径为font oops-plugin-framework插件LanguagePack/LanguageLabel中使用的路径为json --- assets/script/game/initialize/bll/InitRes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/script/game/initialize/bll/InitRes.ts b/assets/script/game/initialize/bll/InitRes.ts index 6c37c51..39b4e9e 100644 --- a/assets/script/game/initialize/bll/InitRes.ts +++ b/assets/script/game/initialize/bll/InitRes.ts @@ -42,7 +42,7 @@ export class InitResSystem extends ecs.ComblockSystem implements ecs.IEntityEnte private loadCustom(queue: AsyncQueue) { queue.push(async (next: NextFunction, params: any, args: any) => { // 加载多语言对应字体 - oops.res.load("language/font/" + oops.language.current, next); + oops.res.load("language/json/" + oops.language.current, next); }); } -- Gitee