WinUI 3
The WinUI 3 host embeds Godot in a Windows App SDK window with a Pause/Resume button. It builds and runs on Windows.
(get cozy and embed Godot in a real UI framework)
Godot reports Engine.is_embedded_in_editor() as true for this host. If a script checks this value, make sure that it also works in this host.
Use It
On Windows, run these commands from your Godot project directory:
dnx 2dog add --winui
dotnet run --project MyGame.winuiCustomize It
Edit the generated host to add controls. Its UI thread runs Godot frames, so event handlers can access the scene tree through _engine.Tree. See the showcase host for an example.
The app runs without an MSIX package. WinUI controls cannot overlap the game window. Use Avalonia or Qt Quick for overlays or a cross-platform UI.
Publish It
dotnet publish MyGame.winui -c ReleaseSee WinUI 3 Configuration for Native AOT and other publish settings.