mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
a8dc8350c6
# Objective - Fixes: #9508 - Fixes: #9526 ## Solution - Adds ```rust fn configure_schedules(&mut self, schedule_build_settings: ScheduleBuildSettings) ``` to `Schedules`, and `App` to simplify applying `ScheduleBuildSettings` to all schedules. --- ## Migration Guide - No breaking changes. - Adds `Schedule::get_build_settings()` getter for the schedule's `ScheduleBuildSettings`. - Can replaced manual configuration of all schedules: ```rust // Old for (_, schedule) in app.world.resource_mut::<Schedules>().iter_mut() { schedule.set_build_settings(build_settings); } // New app.configure_schedules(build_settings); ``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |