You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently observers can detect removal of components, but not destruction of the entities themselves.
Solution
As we have .onRemove<Foo>, we should also have .onDestroy for querying over destroyed entities.
I'm not sure on whether these observers should run before or after the .onRemove observers for the components on the destroyed entities.
Problem
Currently observers can detect removal of components, but not destruction of the entities themselves.
Solution
As we have
.onRemove<Foo>
, we should also have.onDestroy
for querying over destroyed entities.I'm not sure on whether these observers should run before or after the
.onRemove
observers for the components on the destroyed entities.This could be also be used to implement #1418.
The text was updated successfully, but these errors were encountered: