thelinuxlich / artemis_CSharp

Artemis Entity System Framework ported to C#
Other
342 stars 78 forks source link

Entities remain active when are disabled and deleted #92

Open kylepink opened 9 years ago

kylepink commented 9 years ago

An entity will remain active if it is disabled and deleted during a single cycle (assuming it was previously enabled and active). Obviously you're not supposed to disable and delete at the same time, but these things do happen sometimes.

GrafSeismo commented 8 years ago

Sure, but to avoid that you can refresh the entity after disable or delete action to solve it. But be careful, it should be used rare or it may become a bottleneck.