bevy/examples/2d
Alice Cecile 0a9c469d19 Remove .on_update method to improve API consistency and clarity (#7667)
# Objective

Fixes #7632.

As discussed in #7634, it can be quite challenging for users to intuit the mental model of how states now work.

## Solution

Rather than change the behavior of the `OnUpdate` system set, instead work on making sure it's easy to understand what's going on.

Two things have been done:

1. Remove the `.on_update` method from our bevy of system building traits. This was special-cased and made states feel much more magical than they need to.
2. Improve the docs for the `OnUpdate` system set.
2023-02-14 00:13:10 +00:00
..
2d_shapes.rs Rename shapes examples for consistency (#6082) 2022-09-25 00:57:07 +00:00
mesh2d.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
mesh2d_manual.rs Migrate engine to Schedule v3 (#7267) 2023-02-06 02:04:50 +00:00
mesh2d_vertex_color_texture.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
move_sprite.rs Base Sets (#7466) 2023-02-06 03:10:08 +00:00
pixel_perfect.rs Base Sets (#7466) 2023-02-06 03:10:08 +00:00
rotation.rs Migrate engine to Schedule v3 (#7267) 2023-02-06 02:04:50 +00:00
sprite.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
sprite_flipping.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
sprite_sheet.rs Base Sets (#7466) 2023-02-06 03:10:08 +00:00
text2d.rs Base Sets (#7466) 2023-02-06 03:10:08 +00:00
texture_atlas.rs Remove .on_update method to improve API consistency and clarity (#7667) 2023-02-14 00:13:10 +00:00
transparency_2d.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00