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