bevy/crates/bevy_ecs/src
Zachary Harrold 85e41ddace
Add observer to Trigger (#15066)
# Objective

- Fixes  #15061

## Solution

- Added `observer` to `Trigger`, which returns the entity observing the
triggered event.

## Testing

- CI passed locally.
2024-09-09 16:23:14 +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 Add observer to Trigger (#15066) 2024-09-09 16:23:14 +00:00
query Make QueryFilter an unsafe trait (#14790) 2024-09-09 15:23:12 +00:00
reflect Use map_unchanged in reflection instead of creating a Mut manually. (#14692) 2024-08-15 14:26:57 +00:00
schedule Add condition_changed and condition_became_true to common_conditions (#14917) 2024-08-26 18:32:44 +00:00
storage Migrated NonZero* to NonZero<*> (#14978) 2024-08-30 02:37:47 +00:00
system Fix error link (#15082) 2024-09-08 17:11:17 +00:00
world Updated FromWorld Documentation to mention Default (#14954) 2024-08-28 11:37:31 +00:00
archetype.rs Fix observer unregistering unsetting archetype flags (#14963) 2024-08-30 00:43:56 +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 Required Components (#14791) 2024-08-27 20:22:23 +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