pkdawson / imgui-godot

Dear ImGui plugin for Godot 4
MIT License
318 stars 18 forks source link

Moved GDExtension using statements from global to namespace #69

Closed holgac closed 4 days ago

holgac commented 5 days ago

I'd like to use imgui-godot without polluting my globals. I don't use a statement like "using namespace godot" in my files and I'd prefer to access Godot codebase by specifying its namespace, like "godot::".

I also removed a few unnecessary using statements and added StringName and ClassDB which were necessary when godot namespace isn't used.

pkdawson commented 4 days ago

Thanks! I'll work on the GDExtension example so it does a better job of testing the interface.