Bevy has its default plugins, DefaultPlugins. This set of plugins contains most functions that developers may need. For example, the plugin set provides a default window.
To add the DefaultPlugins into our app, we use the add_plugins method of App.
use bevy::{app::App, DefaultPlugins};
fn main() {
App::new().add_plugins(DefaultPlugins).run();
}
Result:
➡️ Next: The Default Scheduler For Windowed App
📘 Back: Table of contents