mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
219b5930f1
# Objective - Closes #15752 Calling the functions `App::observe` and `World::observe` doesn't make sense because you're not "observing" the `App` or `World`, you're adding an observer that listens for an event that occurs *within* the `World`. We should rename them to better fit this. ## Solution Renames: - `App::observe` -> `App::add_observer` - `World::observe` -> `World::add_observer` - `Commands::observe` -> `Commands::add_observer` - `EntityWorldMut::observe_entity` -> `EntityWorldMut::observe` (Note this isn't a breaking change as the original rename was introduced earlier this cycle.) ## Testing Reusing current tests. |
||
---|---|---|
.. | ||
animated_fox.rs | ||
animated_transform.rs | ||
animated_ui.rs | ||
animation_events.rs | ||
animation_graph.rs | ||
animation_masks.rs | ||
color_animation.rs | ||
custom_skinned_mesh.rs | ||
eased_motion.rs | ||
easing_functions.rs | ||
gltf_skinned_mesh.rs | ||
morph_targets.rs |