public void RemoveSystem(ISystem system) { system.End(); foreach (var priority in m_systems) { if (priority.Value.Contains(system)) { priority.Value.Remove(system); } } }
public void RemoveSystem(ISystem system) { system.End(); _systems.Remove(system); }