bevy/crates/bevy_app/src
Daniel McNab 9d440fbcb5 Make RunOnce a non-manual System impl (#3922)
# 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`.
2022-05-04 18:41:37 +00:00
..
app.rs Make RunOnce a non-manual System impl (#3922) 2022-05-04 18:41:37 +00:00
ci_testing.rs Fix formatting, spelling, phrasing and consistency (#4275) 2022-04-05 22:36:02 +00:00
lib.rs Fix formatting, spelling, phrasing and consistency (#4275) 2022-04-05 22:36:02 +00:00
plugin_group.rs Tidy up PluginGroupBuilder by moving Plugin index retrieval to it's own function (#4446) 2022-05-02 13:20:54 +00:00
plugin.rs Fix formatting, spelling, phrasing and consistency (#4275) 2022-04-05 22:36:02 +00:00
schedule_runner.rs Fix formatting, spelling, phrasing and consistency (#4275) 2022-04-05 22:36:02 +00:00