Spawn just one camera (it's messing with egui)
Some checks failed
Basic checks / Basic build-and-test supertask (push) Failing after 27s

The egui debug inspector disappears when switching scenes, which seems
to be related to the camera change. I'm not going to dig into why
exactly this is happening. I'll just create one camera and keep it.
This commit is contained in:
2025-07-27 11:05:49 -05:00
parent 39bddf1c9e
commit e605bbf80d
2 changed files with 13 additions and 6 deletions

View File

@@ -18,7 +18,6 @@ impl Plugin for GameMenuPlugin {
struct TitleUI;
fn spawn_menu(mut commands: Commands) {
commands.spawn((TitleUI, Camera2d));
commands
.spawn((
TitleUI,