From c1315e1c166499ae166f8493df0901f475963363 Mon Sep 17 00:00:00 2001 From: dgflash Date: Fri, 10 Oct 2025 10:06:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96CCEntity.addUi=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/module/common/CCEntity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/module/common/CCEntity.ts b/assets/module/common/CCEntity.ts index 743accf..56d2880 100644 --- a/assets/module/common/CCEntity.ts +++ b/assets/module/common/CCEntity.ts @@ -105,7 +105,7 @@ export abstract class CCEntity extends ecs.Entity { resolve(node); } else { - console.error(`${key} 界面组件未使用 gui.register 注册`); + console.error(`${ctor.name} 界面组件未使用 gui.register 注册`); } }); }