From 90a4f2a619087d4864240c5f5074074e5831a844 Mon Sep 17 00:00:00 2001 From: Rixi <62538759+Riximus@users.noreply.github.com> Date: Fri, 8 Mar 2024 15:28:04 +0100 Subject: [PATCH 1/2] docs: fixed typo in plugins.md Before: additons --- content/learn/quick-start/getting-started/plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/learn/quick-start/getting-started/plugins.md b/content/learn/quick-start/getting-started/plugins.md index a5fd8ed03e..00fa0f751a 100644 --- a/content/learn/quick-start/getting-started/plugins.md +++ b/content/learn/quick-start/getting-started/plugins.md @@ -10,7 +10,7 @@ One of Bevy's core principles is modularity. All Bevy engine features are implem This also means you are free to replace any components you don't like. If you feel the need, you are welcome to build your own [`UiPlugin`], but consider [contributing it back to Bevy](https://github.com/bevyengine/bevy/blob/main/CONTRIBUTING.md) if you think it would be useful! -Those not contributed back into Bevy and instead released separately are third-party plugins. These are useful and easy to use additons created by fellow developers that can help you avoid re-inventing the wheel. To use them all you have to do is: +Those not contributed back into Bevy and instead released separately are third-party plugins. These are useful and easy to use additions created by fellow developers that can help you avoid re-inventing the wheel. To use them all you have to do is: 1. Find a third party Bevy plugin (like those at the [Assets page](/assets)). 2. Add it to your `Cargo.toml` as a crate under `[dependencies]`. From 4b1f92f05b568d2816d2bb87c423023ceb7ec1f2 Mon Sep 17 00:00:00 2001 From: Rixi <62538759+Riximus@users.noreply.github.com> Date: Fri, 8 Mar 2024 15:51:22 +0100 Subject: [PATCH 2/2] docs: fixed order of systems in chain according to ecs.md --- content/learn/quick-start/getting-started/plugins.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/learn/quick-start/getting-started/plugins.md b/content/learn/quick-start/getting-started/plugins.md index 00fa0f751a..f1225c34ea 100644 --- a/content/learn/quick-start/getting-started/plugins.md +++ b/content/learn/quick-start/getting-started/plugins.md @@ -30,7 +30,7 @@ fn main() { App::new() .add_plugins(DefaultPlugins) .add_systems(Startup, add_people) - .add_systems(Update, (hello_world, (greet_people, update_people).chain())) + .add_systems(Update, (hello_world, (update_people, greet_people).chain())) .run(); } ``` @@ -65,7 +65,7 @@ fn main() { App::new() .add_plugins((DefaultPlugins, HelloPlugin)) .add_systems(Startup, add_people) - .add_systems(Update, (hello_world, (greet_people, update_people).chain())) + .add_systems(Update, (hello_world, (update_people, greet_people).chain())) .run(); } ``` @@ -77,7 +77,7 @@ Note `add_plugins` can add any number of plugins (or plugin groups like `Default impl Plugin for HelloPlugin { fn build(&self, app: &mut App) { app.add_systems(Startup, add_people) - .add_systems(Update, (hello_world, (greet_people, update_people).chain())); + .add_systems(Update, (hello_world, (update_people, greet_people).chain())); } }