![]() | EntityManagerRemoveEntity Method |
Issues the entity with the specified id for removal at the end of the current tick.
If the entity is inactive, it is removed immediately and no further event is raised.
Namespace: Slash.ECS.Components
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Entity id is negative. |
ArgumentOutOfRangeException | Entity id has not yet been assigned. |
ArgumentException | Entity with the specified id has already been removed. |