Entity.RemoveChild(Entity).md
July 22, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.Entity
Entity.RemoveChild(Entity) Method
Remove the given child entity from this entity.
public bool RemoveChild(Friflo.Engine.ECS.Entity entity);
Parameters
entity Entity
Returns
Remarks
Executes in O(N) to search the entity. N = ChildCount
The subtree structure of the removed entity remains unchanged