Remove OnUpdate
system set
#8239
Labels
A-ECS
Entities, components, systems, and events
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
X-Controversial
There is active debate or serious implications around merging this PR
Milestone
What problem does this solve or what need does it fill?
This system set is redundant and footgunny.
Problems:
run_if(in_state))
run conditions.What solution would you like?
Remove it completely.
Beginners can simply use run conditions on each systems.
More advanced users who care about the overhead of duplicate checks of the state can make their own run conditions for this, just like everything else.
What alternative(s) have you considered?
run_if(in_state(AppState::Playing))
. This is a lot of complex maintenance burden and obscures the mental model again.Additional context
The need for this system set was dramatically reduced by #8079, which eliminated base sets and made schedules more explicit.
The text was updated successfully, but these errors were encountered: