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