Skip to content

Home > @esengine/ecs-framework-monorepo > Entity > removeChild

Entity.removeChild() method

移除子实体

Signature:

typescript
removeChild(child: Entity): boolean;

Parameters

Parameter

Type

Description

child

Entity

要移除的子实体

Returns:

boolean

是否成功移除

基于 MIT 许可证发布