新增entity/component等transform便捷方法
This commit is contained in:
@@ -9,6 +9,10 @@ class ComponentList {
|
||||
this._entity = entity;
|
||||
}
|
||||
|
||||
public get count(){
|
||||
return this._components.length;
|
||||
}
|
||||
|
||||
public get buffer(){
|
||||
return this._components;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user