Home > @esengine/ecs-framework-monorepo > ECSFluentAPI > find
ECSFluentAPI.find() method
查找实体(简化版)
Signature:
typescript
find(...componentTypes: ComponentType[]): Entity[];
Parameters
Parameter | Type | Description |
---|---|---|
componentTypes | 组件类型 |
Returns:
Entity[]
实体数组