Add a method on App
and Schedules
to configure all schedules
#9508
Labels
A-App
Bevy apps and plugins
A-ECS
Entities, components, systems, and events
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
D-Trivial
Nice and easy! A great choice to get started with Bevy
What problem does this solve or what need does it fill?
Changing
ScheduleBuildSettings
is currently very onerous: it can only be done one schedule at a time by explicitly naming it.This is particularly troublesome with system order ambiguities, which must be denied in all schedules for certain applications that require determinism.
What solution would you like?
Add the following method to
Schedules
.Then, mirror this method on
App
, calling the method onSchedules
.What alternative(s) have you considered?
We could provide a universal equivalent to
edit_schedule
, as seen in the example for this feature. This is more boilerplate in the common case however, and most other uses of schedule modification (like adding systems) aren't well-suited to global application.Might be worth adding anyways, but as an additional API rather than a replacement.
The text was updated successfully, but these errors were encountered: