完善渐隐场景转换

This commit is contained in:
yhh
2020-06-22 15:27:58 +08:00
parent 3d9730d956
commit 481112cfc2
15 changed files with 247 additions and 277 deletions

View File

@@ -11,7 +11,7 @@ class Entity {
public readonly components: ComponentList;
private _updateOrder: number = 0;
private _enabled: boolean = true;
private _isDestoryed: boolean;
public _isDestoryed: boolean;
private _tag: number = 0;
public componentBits: BitSet;
@@ -253,7 +253,7 @@ class Entity {
public onRemovedFromScene(){
if (this._isDestoryed)
this.components.remove
this.components.removeAllComponents();
}
public onTransformChanged(comp: ComponentTransform){