Skip to content

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

ECSFluentAPI.batch() method

批量操作实体

Signature:

typescript
batch(entities: Entity[]): EntityBatchOperator;

Parameters

Parameter

Type

Description

entities

Entity[]

实体数组

Returns:

EntityBatchOperator

批量操作器

基于 MIT 许可证发布