replaceSystem method
Replaces the first scene system whose runtimeType == system.runtimeType with system.
Implementation
E replaceSystem(SceneSystem<T> system) {
final old = _systems.where((c) => c.runtimeType == system.runtimeType).firstOrNull;
if (old != null) _removeSceneSystemInstance(old);
addSystem(system);
return self;
}