diff --git a/examples/simple_new_graph.rs b/examples/simple_new_graph.rs index 60a8f9e27d..661ee1afa5 100644 --- a/examples/simple_new_graph.rs +++ b/examples/simple_new_graph.rs @@ -2,7 +2,20 @@ use bevy::prelude::*; use bevy::render::render_graph_2::{StandardMaterial, ShaderUniforms, uniform_selector}; fn main() { - AppBuilder::new().add_defaults().setup_world(setup).run(); + AppBuilder::new().add_defaults().add_system(build_move_system()).setup_world(setup).run(); +} + +fn build_move_system() -> Box { + SystemBuilder::new("Move") + .read_resource::