diff --git a/README.md b/README.md index 45145dd..37398bd 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,8 @@ use bevy_smud::prelude::*; fn main() { App::new() - .add_plugins(DefaultPlugins) - .add_plugin(SmudPlugin) - .add_startup_system(setup) + .add_plugins((DefaultPlugins, SmudPlugin)) + .add_systems(Startup, setup) .run(); } diff --git a/src/lib.rs b/src/lib.rs index dc3968c..68d8797 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -85,7 +85,7 @@ impl Plugin for SmudPlugin { fn build(&self, app: &mut App) { // All the messy boiler-plate for loading a bunch of shaders app.add_plugins(ShaderLoadingPlugin); - // app.add_plugin(UiShapePlugin); + // app.add_plugins(UiShapePlugin); if let Ok(render_app) = app.get_sub_app_mut(RenderApp) { render_app