修复transform 不更新问题
优化transform 性能问题
This commit is contained in:
@@ -51,6 +51,7 @@ class Entity {
|
||||
|
||||
public update(){
|
||||
this.components.forEach(component => component.update());
|
||||
this.transform.updateTransform();
|
||||
}
|
||||
|
||||
public destory(){
|
||||
|
||||
Reference in New Issue
Block a user