When writing a game you'll eventually reach a point where you want to have more control over when certain
Systems are executed, such as running them for specific
States or pausing them when a certain condition is met. Right now you have these three options to achieve said control:
Dispatchers in a custom
Dispatcherhas its own assigned
States determines which
Dispatchers to run.
Statecontains its own
Dispatcherwith its own
Systems and the
Statehandles the execution.
When registering a
Dispatcher, specify the value of a
Systemruns only if the
Resourceequals that value. This allows for more selective enabling and disabling of
This section contains guides that demonstrate each of these methods.