Skip to content

Entity.RemoveChild(Entity) Method

Definition

Namespace: Brine2D.ECS

Removes a child entity from this entity (makes it a root entity). Delegates to SetParent(Entity) so any future side effects added there (events, transform propagation, etc.) apply through this path too.

public bool RemoveChild(Brine2D.ECS.Entity child);

Parameters

child Entity

Returns

System.Boolean