新增entity/component等transform便捷方法

This commit is contained in:
yhh
2020-06-09 11:09:26 +08:00
parent 262e16bb88
commit 9e0d14da7c
13 changed files with 1308 additions and 5 deletions

View File

@@ -9,6 +9,10 @@ class ComponentList {
this._entity = entity;
}
public get count(){
return this._components.length;
}
public get buffer(){
return this._components;
}