mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
9d440fbcb5
# Objective - `RunOnce` was a manual `System` implementation. - Adding run criteria to stages was yet to be systemyoten ## Solution - Make it a normal function - yeet ## Changelog - Replaced `RunOnce` with `ShouldRun::once` ## Migration guide The run criterion `RunOnce`, which would make the controlled systems run only once, has been replaced with a new run criterion function `ShouldRun::once`. Replace all instances of `RunOnce` with `ShouldRun::once`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |