修复box因缺少初始化报错问题

This commit is contained in:
yhh
2020-06-16 16:35:17 +08:00
parent 7f5b78f340
commit 447ea4efe4
18 changed files with 272 additions and 910 deletions

View File

@@ -49,7 +49,7 @@ class Transform {
constructor(entity: Entity){
this.entity = entity;
this._scale = this._localScale = new Vector2(0, 0);
this._scale = this._localScale = Vector2.one;
this._children = [];
}