From 22888a17ec95dc01f8002b1af96f44bab67dacd3 Mon Sep 17 00:00:00 2001 From: dgflash Date: Tue, 9 Sep 2025 20:15:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/module/common/ModuleUtil.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/module/common/ModuleUtil.ts b/assets/module/common/ModuleUtil.ts index c84112d..187ed7c 100644 --- a/assets/module/common/ModuleUtil.ts +++ b/assets/module/common/ModuleUtil.ts @@ -18,6 +18,7 @@ export class ModuleUtil { * @param ent 模块实体 * @param ctor 界面逻辑组件 * @param uiArgs 界面参数 + * @param anim 界面打开与关闭动画 * @returns 界面节点 */ static addGui(ent: ecs.Entity, ctor: ECSCtor, uiArgs?: any, anim?: UICallbacks): Promise { @@ -50,8 +51,7 @@ export class ModuleUtil { * 业务实体上移除界面组件 * @param ent 模块实体 * @param ctor 界面逻辑组件 - * @param isDestroy 是否释放界面缓存(默认为释放界面缓存) - * @param onRemoved 窗口关闭完成事件 + * @param params 界面关闭参数 */ static removeGui(ent: ecs.Entity, ctor: CompType, params?: UIRemove) { if (params == null) {