bevy/crates/bevy_app/src
TimJentzsch 9b7060c4d2 Make StartupSet a base set (#7574)
# Objective

Closes #7573

- Make `StartupSet` a base set

## Solution

- Add `#[system_set(base)]` to the enum declaration
- Replace `.in_set(StartupSet::...)` with `.in_base_set(StartupSet::...)`

**Note**: I don't really know what I'm doing and what exactly the difference between base and non-base sets are. I mostly opened this PR based on discussion in Discord. I also don't really know how to test that I didn't break everything. Your reviews are appreciated!

---

## Changelog

- `StartupSet` is now a base set

## Migration Guide

`StartupSet` is now a base set. This means that you have to use `.in_base_set` instead of `.in_set`:

### Before

```rs
app.add_system(foo.in_set(StartupSet::PreStartup))
```

### After

```rs
app.add_system(foo.in_base_set(StartupSet::PreStartup))
```
2023-02-19 03:10:06 +00:00
..
app.rs Cleanup system sets called labels (#7678) 2023-02-14 21:46:07 +00:00
ci_testing.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
lib.rs Make StartupSet a base set (#7574) 2023-02-19 03:10:06 +00:00
plugin_group.rs Unique plugin (#6411) 2022-10-31 16:12:19 +00:00
plugin.rs Mention uniqueness check in plugin name method docs (#7554) 2023-02-07 22:40:22 +00:00
schedule_runner.rs Rename schedule v3 to schedule (#7519) 2023-02-06 18:44:40 +00:00