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

System.Boolean

Remarks

Executes in O(N) to search the entity. N = ChildCount
The subtree structure of the removed entity remains unchanged

Contents

  1. 0.1Friflo.Engine.ECS.Entity
  2. 1Entity.RemoveChild(Entity) Method
  3. 1.1Remarks