mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-06-07 18:52:23 +08:00
1、修复PopUp多窗口打开时,关闭一个导致PopUp层事件阻挡消失问题
2、修复Dialog窗口连续弹出时,且带关闭动画情况下,有几率后续窗口关闭不了的问题 3、扩展GUI框架可配置是否触摸非窗口区域关闭 4、扩展GUI框架可配置是否打开窗口后显示背景遮罩 5、扩展GUI框架可配置是否缓存打开的界面,使下次打开立即显示 6、重构GUI框架,代码更简洁,源API使用体验不变
This commit is contained in:
@@ -60,7 +60,7 @@ export class ModuleUtil {
|
||||
* @param uiId 界面资源编号
|
||||
* @param isDestroy 是否释放界面缓存
|
||||
*/
|
||||
public static removeView(ent: ecs.Entity, ctor: CompType<ecs.IComp>, uiId: number, isDestroy: boolean = true) {
|
||||
public static removeView(ent: ecs.Entity, ctor: CompType<ecs.IComp>, uiId: number, isDestroy?: boolean) {
|
||||
ent.remove(ctor);
|
||||
oops.gui.remove(uiId, isDestroy);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user