Add the F1 ECS inspector overlay to the world scene
Bump the engine submodule to 09dbdfa (MrGameEng.Inspector) and wire the new DevTools-style ECS debugger into WorldScene via UseInspector(renderer), before UseDevConsole so the console still draws on top. The HUD controls hint now mentions F1. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
1030f27c50
commit
d0f8fec273
@@ -12,6 +12,7 @@ using MrGameEng.Core;
|
||||
using MrGameEng.DevConsole;
|
||||
using MrGameEng.Graphics;
|
||||
using MrGameEng.Input;
|
||||
using MrGameEng.Inspector;
|
||||
using MrGameEng.Tilemaps;
|
||||
using MrGameEng.UI;
|
||||
using Myra.Graphics2D;
|
||||
@@ -92,6 +93,7 @@ public sealed class WorldScene : Scene
|
||||
);
|
||||
desktop.Root = Ui.Screen(hudLabel, speedBar, _pause.Root);
|
||||
|
||||
this.UseInspector(renderer);
|
||||
var console = this.UseDevConsole();
|
||||
RegisterCommands(console, content, atlases);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user