bevy/crates/bevy_sprite/src
andriyDev 2fea36c1ad
Add flags to SpritePlugin and UiPlugin to allow disabling their picking backend (without needing to disable features). (#16473)
# Objective

- Fixes #16472.

## Solution

- Add flags to `SpritePlugin` and `UiPlugin` to disable their picking
backends.

## Testing

- The change is pretty trivial, so not much to test!

---

## Migration Guide

- `UiPlugin` now contains an extra `add_picking` field if
`bevy_ui_picking_backend` is enabled.
- `SpritePlugin` is no longer a unit struct, and has one field if
`bevy_sprite_picking_backend` is enabled (otherwise no fields).
2024-11-22 18:16:34 +00:00
..
mesh2d Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
render Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
texture_slice Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
bundle.rs Improved UiImage and Sprite scaling and slicing APIs (#16088) 2024-11-04 15:14:03 +00:00
dynamic_texture_atlas_builder.rs Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
lib.rs Add flags to SpritePlugin and UiPlugin to allow disabling their picking backend (without needing to disable features). (#16473) 2024-11-22 18:16:34 +00:00
picking_backend.rs Fix sprite picking backend not considering the viewport of the camera. (#16386) 2024-11-14 13:04:52 +00:00
sprite.rs Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
texture_atlas.rs Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00
texture_atlas_builder.rs Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00