Home > @esengine/ecs-framework-monorepo > Entity > removeChild
Entity.removeChild() method
移除子实体
Signature:
typescript
removeChild(child: Entity): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
child | 要移除的子实体 |
Returns:
boolean
是否成功移除