Entitas
Entitas copied to clipboard
How do I fully teardown/shutdown Entitas and getting rid of DebugSystemsBehaviour
What would be the correct way of fully removing all Entitas items from the scene? Currently I do like this:
m_systems.TearDown(); m_systems.DeactivateReactiveSystems(); Contexts.sharedInstance.Reset(); m_systems = null;
But e.g. DebugSystemsBehaviour objects are still persistent in the Unity scene. How can I get rid of those. When I init new systems I get duplicate debug objects.
Best, Hu