Skip to content

Commit

Permalink
Update to Bevy 0.8
Browse files Browse the repository at this point in the history
* UiCameraBundle has been removed. Ui camera is now on-by-default.
  - bevyengine/bevy#4745
* Rect is now UiRect
* Text::with_section() is now Text::from_section() and alignment is set with with_alignment
```rust
Text::from_section(
    "Score",
    TextStyle {
        font: font_spec.family.clone(),
        font_size: 15.0,
        color: Color::WHITE,
    }).with_alignment(
    TextAlignment {
        vertical: VerticalAlign::Center,
        horizontal: HorizontalAlign::Center,
    },
),
```
* QuerySet is now ParamSet
* OrthographicCameraBundle is now Camera2dBundle::default()
  • Loading branch information
ChristopherBiscardi committed Jul 25, 2022
1 parent cdc4767 commit 309a557
Show file tree
Hide file tree
Showing 4 changed files with 837 additions and 853 deletions.
Loading

0 comments on commit 309a557

Please sign in to comment.