修复切换场景未移除问题
This commit is contained in:
@@ -144,6 +144,9 @@ class Scene extends egret.DisplayObjectContainer {
|
||||
this.entityProcessors.end();
|
||||
|
||||
this.unload();
|
||||
|
||||
if (this.parent)
|
||||
this.parent.removeChild(this);
|
||||
}
|
||||
|
||||
protected async onStart() {
|
||||
|
||||
Reference in New Issue
Block a user