use bevy::prelude::*; /// This example illustrates how to customize the default window settings fn main() { App::build() .insert_resource(WindowDescriptor { title: "I am a window!".to_string(), width: 500., height: 300., vsync: true, ..Default::default() }) .add_plugins(DefaultPlugins) .add_system(change_title.system()) .add_system(toggle_cursor.system()) .run(); } /// This system will then change the title during execution fn change_title(time: Res