bevy/crates/bevy_ecs/src/system
Ben Frankel 9c8576996f
Add a doc note about despawn footgun (#10889)
# Objective

The `Despawn` command breaks the hierarchy whenever you use it if the
despawned entity has a parent or any children. This is a serious footgun
because the `Despawn` command has the shortest name, the behavior is
unexpected and not likely to be what you want, and the crash that it
causes can be very difficult to track down.

## Solution

Until this can be fixed by relations, add a note mentioning the footgun
in the documentation.
2023-12-12 19:44:05 +00:00
..
commands Add a doc note about despawn footgun (#10889) 2023-12-12 19:44:05 +00:00
adapter_system.rs Replace all labels with interned labels (#7762) 2023-10-25 21:39:23 +00:00
combinator.rs Replace all labels with interned labels (#7762) 2023-10-25 21:39:23 +00:00
exclusive_function_system.rs Replace all labels with interned labels (#7762) 2023-10-25 21:39:23 +00:00
exclusive_system_param.rs Split WorldQuery into WorldQueryData and WorldQueryFilter (#9918) 2023-11-28 03:56:07 +00:00
function_system.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
mod.rs Add a couple assertions for system types (#10893) 2023-12-06 20:35:46 +00:00
query.rs Override QueryIter::fold to port Query::for_each perf gains to select Iterator combinators (#6773) 2023-12-01 09:09:55 +00:00
system.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
system_param.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
system_registry.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00