mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 14:40:19 +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();
|
|
}
|