Spawn just one camera (it's messing with egui)
Some checks failed
Basic checks / Basic build-and-test supertask (push) Failing after 27s
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:
@@ -18,7 +18,6 @@ impl Plugin for GameMenuPlugin {
|
||||
struct TitleUI;
|
||||
|
||||
fn spawn_menu(mut commands: Commands) {
|
||||
commands.spawn((TitleUI, Camera2d));
|
||||
commands
|
||||
.spawn((
|
||||
TitleUI,
|
||||
|
||||
Reference in New Issue
Block a user