Skip to content

Home > @esengine/ecs-framework-monorepo > ComponentSparseSet > getAllEntities

ComponentSparseSet.getAllEntities() method

获取所有实体

Signature:

typescript
getAllEntities(): Entity[];

Returns:

Entity[]

所有实体的数组

基于 MIT 许可证发布