bevy/crates/bevy_ecs/src
kivi 3f425da66e
Improve schedule note of .after/.before & encourage to use .chain ins… (#14986)
# Objective

- Fixes #14552 
- Make the current note of `before` and `after` understandable. 
- > The given set is not implicitly added to the schedule when this
system set is added.

## Solution

- Replace note in docs of [`after` and
`before`](https://docs.rs/bevy/latest/bevy/ecs/prelude/trait.IntoSystemConfigs.html#method.before)
- Note of after was removed completely, and links to `before`, because
they notes would be identical.
- Also encourage to use `.chain`, which is much simpler and safer to use

## Testing

- Checked the docs after running `cargo doc` and `cargo run -p ci --
lints`
- Are there any parts that need more testing?
- no need to test, but please review the text. If it is still including
the intended message and especially if its understandable.

---------

Co-authored-by: Jan Hohenheim <jan@hohenheim.ch>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-09-14 21:03:21 +00:00
..
entity Migrated NonZero* to NonZero<*> (#14978) 2024-08-30 02:37:47 +00:00
event Commands::send_event (#14933) 2024-08-27 23:43:40 +00:00
identifier Migrated NonZero* to NonZero<*> (#14978) 2024-08-30 02:37:47 +00:00
observer Added ordering information to observer tests (#14332) (#15178) 2024-09-14 14:08:49 +00:00
query Use associated type bounds for iter_many and friends (#15040) 2024-09-09 16:24:39 +00:00
reflect Finish enhancing ReflectCommandExt to work with Bundles (#15152) 2024-09-11 03:19:28 +00:00
schedule Improve schedule note of .after/.before & encourage to use .chain ins… (#14986) 2024-09-14 21:03:21 +00:00
storage Migrated NonZero* to NonZero<*> (#14978) 2024-08-30 02:37:47 +00:00
system Use associated type bounds for iter_many and friends (#15040) 2024-09-09 16:24:39 +00:00
world EntityRef/Mut get_components (immutable variants only) (#15089) 2024-09-09 16:29:44 +00:00
archetype.rs Optimize observer unregistration (#15150) 2024-09-13 15:47:24 +00:00
batching.rs Parallel event reader (#12554) 2024-04-22 16:37:42 +00:00
bundle.rs Required Components (#14791) 2024-08-27 20:22:23 +00:00
change_detection.rs Add filter_map_unchanged to Mut<T> (#14837) 2024-08-22 17:51:21 +00:00
component.rs Micro typo in bevy_ecs (#15167) 2024-09-12 08:43:33 +00:00
intern.rs Moves intern and label modules into bevy_ecs (#12772) 2024-04-08 15:34:11 +00:00
label.rs Add mappings to EntityMapper (#13727) 2024-06-08 12:52:23 +00:00
lib.rs Unify crate-level preludes (#15080) 2024-09-08 17:10:57 +00:00
removal_detection.rs Created an EventMutator for when you want to mutate an event before reading (#13818) 2024-07-08 14:53:06 +00:00
traversal.rs Minimal Bubbling Observers (#13991) 2024-07-15 13:39:41 +00:00