Skip to content

Home > @esengine/ecs-framework-monorepo > ECSFluentAPI > find

ECSFluentAPI.find() method

查找实体(简化版)

Signature:

typescript
find(...componentTypes: ComponentType[]): Entity[];

Parameters

Parameter

Type

Description

componentTypes

ComponentType[]

组件类型

Returns:

Entity[]

实体数组

基于 MIT 许可证发布