Module bevy_ecs::removal_detection
source · Expand description
Alerting events when a component is removed from an entity.
Structs§
- Wrapper around
Entity
forRemovedComponents
. Internally,RemovedComponents
uses these as anEvents<RemovedComponentEntity>
. - Stores the
RemovedComponents
event buffers for all types of component in a givenWorld
. - Wrapper around a
ManualEventReader<RemovedComponentEntity>
so that we can differentiate events between components. - A
SystemParam
that yields entities that had theirT
Component
removed or have been despawned with it.
Type Aliases§
- Iterator over entities that had a specific component removed.
- Iterator over entities that had a specific component removed.