bevy/examples/animation
MiniaczQ f602edad09
Text Rework cleanup (#15887)
# Objective

Cleanup naming and docs, add missing migration guide after #15591 

All text root nodes now use `Text` (UI) / `Text2d`.
All text readers/writers use `Text<Type>Reader`/`Text<Type>Writer`
convention.

---

## Migration Guide

Doubles as #15591 migration guide.

Text bundles (`TextBundle` and `Text2dBundle`) were removed in favor of
`Text` and `Text2d`.
Shared configuration fields were replaced with `TextLayout`, `TextFont`
and `TextColor` components.
Just `TextBundle`'s additional field turned into `TextNodeFlags`
component,
while `Text2dBundle`'s additional fields turned into `TextBounds` and
`Anchor` components.

Text sections were removed in favor of hierarchy-based approach.
For root text entities with `Text` or `Text2d` components, child
entities with `TextSpan` will act as additional text sections.
To still access text spans by index, use the new `TextUiReader`,
`Text2dReader` and `TextUiWriter`, `Text2dWriter` system parameters.
2024-10-15 02:32:34 +00:00
..
animated_fox.rs Rename App/World::observe to add_observer, EntityWorldMut::observe_entity to observe. (#15754) 2024-10-09 15:39:29 +00:00
animated_transform.rs Deprecate SpatialBundle (#15830) 2024-10-13 17:28:22 +00:00
animated_ui.rs split up TextStyle (#15857) 2024-10-13 17:06:22 +00:00
animation_events.rs split up TextStyle (#15857) 2024-10-13 17:06:22 +00:00
animation_graph.rs split up TextStyle (#15857) 2024-10-13 17:06:22 +00:00
animation_masks.rs Text Rework cleanup (#15887) 2024-10-15 02:32:34 +00:00
color_animation.rs Migrate bevy_sprite to required components (#15489) 2024-10-09 16:17:26 +00:00
custom_skinned_mesh.rs Vary transforms for custom_skinned_mesh example (#15710) 2024-10-08 12:37:46 +00:00
eased_motion.rs Remove the Component trait implementation from Handle (#15796) 2024-10-09 21:10:01 +00:00
easing_functions.rs split up TextStyle (#15857) 2024-10-13 17:06:22 +00:00
gltf_skinned_mesh.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
morph_targets.rs Fix println in morph_targets example (#15851) 2024-10-11 15:35:22 +00:00