新增mover移动器组件 用于处理itriggerListener接口碰撞信息

This commit is contained in:
yhh
2020-06-16 11:22:37 +08:00
parent 75301f7776
commit 8b21edc65f
22 changed files with 671 additions and 46 deletions

View File

@@ -212,7 +212,7 @@ class Entity {
return this.components.getComponent(type, false) as T;
}
public getComponents(typeName: string, componentList?){
public getComponents(typeName: string | any, componentList?){
return this.components.getComponents(typeName, componentList);
}