mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
12 lines
294 B
Rust
12 lines
294 B
Rust
use bevy::{
|
|
diagnostic::{FrameTimeDiagnosticsPlugin, PrintDiagnosticsPlugin},
|
|
prelude::*,
|
|
};
|
|
|
|
fn main() {
|
|
App::build()
|
|
.add_default_plugins()
|
|
.add_plugin(FrameTimeDiagnosticsPlugin::default())
|
|
.add_plugin(PrintDiagnosticsPlugin::default())
|
|
.run();
|
|
}
|