Is it possible to add systems to specific states?
Currently in the game I’m writing, systems are added to the GameDataBuilder via the “with” function.
These systems are then run on every frame, checking through their components and calculating various logic.
However my game also has multiple states, some of these states will never have use for some of these systems.
So instead of having all systems run on every frame, regardless of what state is the current state, is it possible to register or add systems to specific states so that they will only run when the state they were registered under/added to is the current state?
Sorry if this has been asked before, I did try searching through the forum and have read through all of the Amethyst master book.
Any help/suggestions would be very appreciated.