bevy/crates
Miles Silberling-Cook 6e849a178a
Emit picking event streams (#16105)
# Objective

In `bevy_mod_picking` events are accessible through event listeners or
`EventReader`s. When I replaced event listeners with observers, I
removed the `EventReader` for simplicity. This adds it back.

## Solution

All picking events are now properly registered, and can be accessed
through `EventReader<Pointer<E>>`. `Pointer` now tracks the entity the
event targeted initially, and this can also be helpful in observers
(which don't currently do this).

## Testing

The picking examples run fine. This shouldn't really change anything.

---------

Co-authored-by: Aevyrie <aevyrie@gmail.com>
2024-10-27 21:18:18 +01:00
..
bevy_a11y Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_animation Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_app Fix bevy_picking plugin suffixes (#16082) 2024-10-27 21:17:18 +01:00
bevy_asset Add AsyncSeekForwardExt trait to allows a similar API to the previous Bevy version (#16027) 2024-10-27 21:17:18 +01:00
bevy_audio Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_color Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_core Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_core_pipeline Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_derive Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_dev_tools fix bevy_dev_tools build (#16099) 2024-10-27 21:18:08 +01:00
bevy_diagnostic Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_dylib Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_ecs More #[doc(fake_variadic)] goodness (#16108) 2024-10-27 21:18:18 +01:00
bevy_encase_derive Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_gilrs Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_gizmos Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_gltf Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_hierarchy Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_image Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_input Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_internal Fix bevy_picking plugin suffixes (#16082) 2024-10-27 21:17:18 +01:00
bevy_log Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_macro_utils Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_math Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_mesh Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_mikktspace Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_pbr Place percentage-closer soft shadows behind a feature gate to save on samplers. (#16068) 2024-10-25 01:49:30 +02:00
bevy_picking Emit picking event streams (#16105) 2024-10-27 21:18:18 +01:00
bevy_ptr Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_reflect Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_remote Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_render More #[doc(fake_variadic)] goodness (#16108) 2024-10-27 21:18:18 +01:00
bevy_scene Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_sprite Fix bevy_picking plugin suffixes (#16082) 2024-10-27 21:17:18 +01:00
bevy_state Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_tasks Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_text Use CosmicFontSystem in public bevy_text APIs and remove cosmic_text re-export (#16063) 2024-10-24 23:33:23 +02:00
bevy_time Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_transform Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_ui Fix bevy_picking plugin suffixes (#16082) 2024-10-27 21:17:18 +01:00
bevy_utils More #[doc(fake_variadic)] goodness (#16108) 2024-10-27 21:18:18 +01:00
bevy_window Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00
bevy_winit Release 0.15.0-rc.1 2024-10-22 22:44:41 +02:00