File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5353//!
5454//! ```no_run
5555//! // src/main.rs
56- //! use bevy::{ prelude::*, utils::Duration} ;
56+ //! use bevy::prelude::*;
5757//! use bevy_yarnspinner::prelude::*;
5858//! // Use the example dialogue view to see the dialogue in action. Requires the `bevy_yarnspinner_example_dialogue_view` crate.
5959//! // use bevy_yarnspinner_example_dialogue_view::prelude::*;
7979//! }
8080//!
8181//! fn setup_camera(mut commands: Commands) {
82- //! commands.spawn(Camera2dBundle ::default());
82+ //! commands.spawn(Camera2d ::default());
8383//! }
8484//!
8585//! fn spawn_dialogue_runner(mut commands: Commands, project: Res<YarnProject>) {
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ fn main() {
5353}
5454
5555fn setup_camera(mut commands: Commands) {
56- commands.spawn(Camera2dBundle ::default());
56+ commands.spawn(Camera2d ::default());
5757}
5858
5959fn spawn_dialogue_runner(mut commands: Commands, project: Res<YarnProject>) {
You can’t perform that action at this time.
0 commit comments