bevy/examples/window/window_settings.rs
2020-10-06 13:08:12 -07:00

17 lines
413 B
Rust

use bevy::prelude::*;
/// This example illustrates how to customize the default window settings
fn main() {
App::build()
.add_resource(WindowDescriptor {
title: "I am a window!".to_string(),
width: 300,
height: 300,
vsync: true,
resizable: false,
..Default::default()
})
.add_default_plugins()
.run();
}