Open Misiur opened 5 years ago
It seems that when doing world.invalidate nothing gets updated immediately, I have to manually add _component.has(entity) checks in systems to make sure component was removed. Any ideas how to circumvent this?
world.invalidate
_component.has(entity)
Removing single components requires world.commit as well, right?
world.commit
It seems that when doing
world.invalidate
nothing gets updated immediately, I have to manually add_component.has(entity)
checks in systems to make sure component was removed. Any ideas how to circumvent this?