## Objective Fix the misleading 2d anchor API where `Anchor` is a component and required by `Text2d` but is stored on a field for sprites. Fixes #18367 ## Solution Remove the `anchor` field from `Sprite` and require `Anchor` instead. ## Migration Guide The `anchor` field has been removed from `Sprite`. Instead the `Anchor` component is now a required component on `Sprite`. |
||
|---|---|---|
| .. | ||
| mesh2d | ||
| render | ||
| texture_slice | ||
| lib.rs | ||
| picking_backend.rs | ||
| sprite.rs | ||