Closed jasonswearingen closed 3 months ago
I see in #58 the use of ToolInit()
. I tried adding that:
private bool isImGuiInit = false;
public override void _Ready()
{
base._Ready();
isImGuiInit = ImGuiGD.ToolInit();
}
but it always returns false (including when I try recalling it from _Process()
). This always returns false both in the editor and when running in debug.
I got it "working" (not crashing).... I used the addon folder from the git repo, not the releases. switching to releases now works.
Yes, using ImGui in the editor is one feature that absolutely requires the GDExtension.
https://github.com/pkdawson/imgui-godot/wiki/In%E2%80%90editor-GUI
runs "in game" fine.
When creating a simple project with this as the script for the loading scene, it crashes.
Crashes on the first line with
Crashes the editor upon startup until rebuilding the csharp code with the ImGui lines commented out.
Ideally I would be able to use ImGui in the editor via [Tool] nodes, just like in-game.
specs: