移除 transform
This commit is contained in:
@@ -171,16 +171,4 @@ class ComponentList {
|
||||
component.update();
|
||||
}
|
||||
}
|
||||
|
||||
public onEntityTransformChanged(comp){
|
||||
for (let i = 0; i < this._components.length; i++){
|
||||
if (this._components[i].enabled)
|
||||
this._components[i].onEntityTransformChanged(comp);
|
||||
}
|
||||
|
||||
for (let i = 0; i < this._componentsToAdd.length; i ++){
|
||||
if (this._componentsToAdd[i].enabled)
|
||||
this._componentsToAdd[i].onEntityTransformChanged(comp);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user