ECS: Check world structure
kind: featureECS
To reduce the chances of silent memory leaks or other misbehavior, add consistency checks of the `World` contents, such as:
* No `Membership` component should be without its matching `ReadQueryData`.
* Entities with such components should not lack `Membership`. This will require registering those components with a checker — maybe `VisitableComponents` should be exactly that?
0 条评论