This seems like a very basic question so I feel like there must be something I'm missing, but...
I have a very simple game structure where I want to go from the main menu (no ECS) into the game scene, then back to the main menu. It seems obvious that when I go back to the main menu I need to clean up all the entities in the World, but I can't see a nice way to do that.
EntityManager.DestroyEntity(entityManager.UniversalQuery) or EntityManager.DestroyAndResetAllEntities on the DefaultGameObjectInjectionWorld almost work, but they also kill the Physics singletons and other default entities.
Should I be creating my own World if I want to be able to go in and out of it, or is there a way to remove only the entities that are created as part of the game scene? Or am I thinking about this entirely wrong?