bevy/crates/bevy_asset/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
..
diagnostic Make StartupSet a base set (#7574) 2023-02-19 03:10:06 +00:00
io update winit to 0.28 (#7480) 2023-02-03 16:41:39 +00:00
asset_server.rs Base Sets (#7466) 2023-02-06 03:10:08 +00:00
assets.rs Fix crash with debug_asset_server due to base set changes (#7538) 2023-02-07 14:18:15 +00:00
debug_asset_server.rs Cleanup system sets called labels (#7678) 2023-02-14 21:46:07 +00:00
filesystem_watcher.rs Update to notify 5.0 stable (#5865) 2022-09-02 15:54:54 +00:00
handle.rs Remove unnecessary Default impl of HandleType (#7472) 2023-02-02 15:09:06 +00:00
info.rs docs: Full documentation for bevy_asset (#3536) 2022-07-12 15:44:09 +00:00
lib.rs Base Sets (#7466) 2023-02-06 03:10:08 +00:00
loader.rs Fix clippy::iter_with_drain (#6485) 2022-11-06 01:42:15 +00:00
path.rs Add From<String> for AssetPath<'a> (#6337) 2022-10-24 14:14:24 +00:00
reflect.rs add UnsafeWorldCell abstraction (#6404) 2023-01-27 00:12:13 +00:00