Entity.DeleteEntity().md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.Entity

Entity.DeleteEntity() Method

Delete the entity from its EntityStore.
The deleted instance is in detached state. Calling Entity methods result in System.NullReferenceException's

public void DeleteEntity();

Remarks

Executes in O(1) in case the entity has no children and if it is the last entity in Parent.ChildIds

Contents

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