完善 colliderTriggerHelper 用于更新碰撞信息
This commit is contained in:
@@ -212,8 +212,8 @@ class Entity {
|
||||
return this.components.getComponent(type, false) as T;
|
||||
}
|
||||
|
||||
public getComponents<T extends Component>(type): T[]{
|
||||
return this.components.getComponents<T>(type);
|
||||
public getComponents(typeName: string, componentList?){
|
||||
return this.components.getComponents(typeName, componentList);
|
||||
}
|
||||
|
||||
public removeComponentForType<T extends Component>(type){
|
||||
|
||||
Reference in New Issue
Block a user