bevy/crates/bevy_ecs/src
Alexander Sepity afb33234db Optional .system(), part 3 (#2422)
# Objective

- Continue work of #2398 and #2403.
- Make `.system()` syntax optional when using `.config()` API.

## Solution

- Introduce new prelude trait, `ConfigurableSystem`, that shorthands `my_system.system().config(...)` as `my_system.config(...)`.
- Expand `configure_system_local` test to also cover the new syntax.
2021-07-01 19:09:34 +00:00
..
component [ecs] add StorageType documentation (#2394) 2021-06-30 16:38:24 +00:00
entity Improve bevy_ecs query docs (#1935) 2021-04-22 19:09:09 +00:00
query [ecs] implement is_empty for queries (#2271) 2021-06-02 20:50:06 +00:00
schedule Optional .system(), part 2 (#2403) 2021-06-29 19:47:46 +00:00
storage Fixes dropping empty BlobVec (#2295) 2021-06-02 19:08:39 +00:00
system Optional .system(), part 3 (#2422) 2021-07-01 19:09:34 +00:00
world drop overwritten component data on double insert (#2227) 2021-05-30 20:15:40 +00:00
archetype.rs small ecs cleanup and remove_bundle drop bugfix (#2172) 2021-05-18 19:25:57 +00:00
bundle.rs drop overwritten component data on double insert (#2227) 2021-05-30 20:15:40 +00:00
change_detection.rs Allow Option<NonSend<T>> and Option<NonSendMut<T>> as SystemParam (#2345) 2021-06-26 19:29:38 +00:00
event.rs [assets] fix Assets being set as 'changed' each frame (#2280) 2021-06-02 02:30:14 +00:00
lib.rs Optional .system(), part 3 (#2422) 2021-07-01 19:09:34 +00:00
reflect.rs Refactor ResMut/Mut/ReflectMut to remove duplicated code (#2217) 2021-05-30 19:29:31 +00:00