Skip to content

Home > @esengine/ecs-framework-monorepo > EntityList > add

EntityList.add() method

添加实体(立即添加或延迟添加)

Signature:

typescript
add(entity: Entity): void;

Parameters

Parameter

Type

Description

entity

Entity

要添加的实体

Returns:

void

基于 MIT 许可证发布