bevy/examples/2d
Pablo Reinhardt d96a9d15f6
Migrate from Query::single and friends to Single (#15872)
# Objective

- closes #15866

## Solution

- Simply migrate where possible.

## Testing

- Expect that CI will do most of the work. Examples is another way of
testing this, as most of the work is in that area.
---

## Notes
For now, this PR doesn't migrate `QueryState::single` and friends as for
now, this look like another issue. So for example, QueryBuilders that
used single or `World::query` that used single wasn't migrated. If there
is a easy way to migrate those, please let me know.

Most of the uses of `Query::single` were removed, the only other uses
that I found was related to tests of said methods, so will probably be
removed when we remove `Query::single`.
2024-10-13 20:32:06 +00:00
..
2d_shapes.rs Text rework (#15591) 2024-10-09 18:35:36 +00:00
2d_viewport_to_world.rs Migrate from Query::single and friends to Single (#15872) 2024-10-13 20:32:06 +00:00
bloom_2d.rs Migrate from Query::single and friends to Single (#15872) 2024-10-13 20:32:06 +00:00
bounding_2d.rs Migrate from Query::single and friends to Single (#15872) 2024-10-13 20:32:06 +00:00
cpu_draw.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
custom_gltf_vertex_attribute.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
mesh2d.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
mesh2d_alpha_mode.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
mesh2d_arcs.rs Implement From translation and rotation for isometries (#15733) 2024-10-08 16:09:28 +00:00
mesh2d_manual.rs Deprecate SpatialBundle (#15830) 2024-10-13 17:28:22 +00:00
mesh2d_vertex_color_texture.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
move_sprite.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
pixel_grid_snap.rs Migrate from Query::single and friends to Single (#15872) 2024-10-13 20:32:06 +00:00
rotation.rs Migrate from Query::single and friends to Single (#15872) 2024-10-13 20:32:06 +00:00
sprite.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
sprite_animation.rs Migrate from Query::single and friends to Single (#15872) 2024-10-13 20:32:06 +00:00
sprite_flipping.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
sprite_sheet.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
sprite_slice.rs split up TextStyle (#15857) 2024-10-13 17:06:22 +00:00
sprite_tile.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
text2d.rs split up TextStyle (#15857) 2024-10-13 17:06:22 +00:00
texture_atlas.rs split up TextStyle (#15857) 2024-10-13 17:06:22 +00:00
transparency_2d.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
wireframe_2d.rs Migrate from Query::single and friends to Single (#15872) 2024-10-13 20:32:06 +00:00