diff --git a/examples/bevy_gltf_blueprints/animation/src/game/in_main_menu.rs b/examples/bevy_gltf_blueprints/animation/src/game/in_main_menu.rs index eda1fd1..55bc750 100644 --- a/examples/bevy_gltf_blueprints/animation/src/game/in_main_menu.rs +++ b/examples/bevy_gltf_blueprints/animation/src/game/in_main_menu.rs @@ -3,13 +3,15 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu}; pub fn setup_main_menu(mut commands: Commands) { commands.spawn(( - Camera2dBundle{ + Camera2dBundle { camera: Camera { order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28 ..default() }, - ..Default::default() - }, InMainMenu)); + ..Default::default() + }, + InMainMenu, + )); commands.spawn(( TextBundle::from_section( diff --git a/examples/bevy_gltf_blueprints/basic/src/game/in_main_menu.rs b/examples/bevy_gltf_blueprints/basic/src/game/in_main_menu.rs index 106e1e8..a7c88e2 100644 --- a/examples/bevy_gltf_blueprints/basic/src/game/in_main_menu.rs +++ b/examples/bevy_gltf_blueprints/basic/src/game/in_main_menu.rs @@ -3,13 +3,15 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu}; pub fn setup_main_menu(mut commands: Commands) { commands.spawn(( - Camera2dBundle{ + Camera2dBundle { camera: Camera { order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28 ..default() }, - ..Default::default() - }, InMainMenu)); + ..Default::default() + }, + InMainMenu, + )); commands.spawn(( TextBundle::from_section( diff --git a/examples/bevy_gltf_blueprints/basic_xpbd_physics/src/game/in_main_menu.rs b/examples/bevy_gltf_blueprints/basic_xpbd_physics/src/game/in_main_menu.rs index b1925eb..55bc750 100644 --- a/examples/bevy_gltf_blueprints/basic_xpbd_physics/src/game/in_main_menu.rs +++ b/examples/bevy_gltf_blueprints/basic_xpbd_physics/src/game/in_main_menu.rs @@ -3,14 +3,16 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu}; pub fn setup_main_menu(mut commands: Commands) { commands.spawn(( - Camera2dBundle{ + Camera2dBundle { camera: Camera { order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28 ..default() }, - ..Default::default() - }, InMainMenu)); - + ..Default::default() + }, + InMainMenu, + )); + commands.spawn(( TextBundle::from_section( "SOME GAME TITLE !!", diff --git a/examples/bevy_gltf_blueprints/materials/src/game/in_main_menu.rs b/examples/bevy_gltf_blueprints/materials/src/game/in_main_menu.rs index b1925eb..55bc750 100644 --- a/examples/bevy_gltf_blueprints/materials/src/game/in_main_menu.rs +++ b/examples/bevy_gltf_blueprints/materials/src/game/in_main_menu.rs @@ -3,14 +3,16 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu}; pub fn setup_main_menu(mut commands: Commands) { commands.spawn(( - Camera2dBundle{ + Camera2dBundle { camera: Camera { order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28 ..default() }, - ..Default::default() - }, InMainMenu)); - + ..Default::default() + }, + InMainMenu, + )); + commands.spawn(( TextBundle::from_section( "SOME GAME TITLE !!", diff --git a/examples/bevy_gltf_blueprints/multiple_levels_multiple_blendfiles/src/game/in_main_menu.rs b/examples/bevy_gltf_blueprints/multiple_levels_multiple_blendfiles/src/game/in_main_menu.rs index b1925eb..55bc750 100644 --- a/examples/bevy_gltf_blueprints/multiple_levels_multiple_blendfiles/src/game/in_main_menu.rs +++ b/examples/bevy_gltf_blueprints/multiple_levels_multiple_blendfiles/src/game/in_main_menu.rs @@ -3,14 +3,16 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu}; pub fn setup_main_menu(mut commands: Commands) { commands.spawn(( - Camera2dBundle{ + Camera2dBundle { camera: Camera { order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28 ..default() }, - ..Default::default() - }, InMainMenu)); - + ..Default::default() + }, + InMainMenu, + )); + commands.spawn(( TextBundle::from_section( "SOME GAME TITLE !!", diff --git a/examples/bevy_gltf_components/basic/assets/basic.blend b/examples/bevy_gltf_components/basic/assets/basic.blend index 593df09..0447205 100644 Binary files a/examples/bevy_gltf_components/basic/assets/basic.blend and b/examples/bevy_gltf_components/basic/assets/basic.blend differ diff --git a/examples/bevy_gltf_save_load/basic/src/game/in_main_menu.rs b/examples/bevy_gltf_save_load/basic/src/game/in_main_menu.rs index 746257d..5be2502 100644 --- a/examples/bevy_gltf_save_load/basic/src/game/in_main_menu.rs +++ b/examples/bevy_gltf_save_load/basic/src/game/in_main_menu.rs @@ -3,14 +3,16 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu}; pub fn setup_main_menu(mut commands: Commands) { commands.spawn(( - Camera2dBundle{ + Camera2dBundle { camera: Camera { order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28 ..default() }, - ..Default::default() - }, InMainMenu)); - + ..Default::default() + }, + InMainMenu, + )); + commands.spawn(( TextBundle::from_section( "SOME GAME TITLE !!", diff --git a/examples/bevy_registry_export/basic/src/game/in_main_menu.rs b/examples/bevy_registry_export/basic/src/game/in_main_menu.rs index eda1fd1..55bc750 100644 --- a/examples/bevy_registry_export/basic/src/game/in_main_menu.rs +++ b/examples/bevy_registry_export/basic/src/game/in_main_menu.rs @@ -3,13 +3,15 @@ use bevy_gltf_worlflow_examples_common::{AppState, InMainMenu}; pub fn setup_main_menu(mut commands: Commands) { commands.spawn(( - Camera2dBundle{ + Camera2dBundle { camera: Camera { order: 102, // needed because of this: https://github.com/jakobhellermann/bevy_editor_pls/blob/crates/bevy_editor_pls_default_windows/src/cameras/mod.rs#L213C9-L213C28 ..default() }, - ..Default::default() - }, InMainMenu)); + ..Default::default() + }, + InMainMenu, + )); commands.spawn(( TextBundle::from_section(