Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aevyrie committed Aug 8, 2022
1 parent bc8e865 commit 2456b91
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ bevy_polyline = "0.3"
```

You add it as a plugin to your app:
```rust
```rs
app.add_plugin(PolylinePlugin);
```

And then you can add some Polylines through PolylineBundle
```rust
```rs
fn setup(
mut commands: Commands,
mut polyline_materials: ResMut<Assets<PolylineMaterial>>,
Expand Down Expand Up @@ -82,6 +82,7 @@ We intend to track the `main` branch of Bevy. PRs supporting this are welcome!

| bevy | bevy_polyline |
| ---- | ------------- |
| 0.8 | 0.3 |
| 0.7 | 0.2 |
| 0.6 | 0.1 |

Expand Down

0 comments on commit 2456b91

Please sign in to comment.