修复box因缺少初始化报错问题
This commit is contained in:
@@ -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 = [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user