mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-07 11:01:07 +08:00
ECSEntity.destroy时,自动释放显示层组件
This commit is contained in:
@@ -264,7 +264,7 @@ export class ECSEntity {
|
||||
}
|
||||
|
||||
private _remove(comp: CompType<ecs.IComp>) {
|
||||
this.remove(comp, false);
|
||||
this.remove(comp, true);
|
||||
}
|
||||
|
||||
/** 销毁实体,实体会被回收到实体缓存池中 */
|
||||
|
||||
Reference in New Issue
Block a user