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) {