Debug addon and removed old scaling

This commit is contained in:
Marco 2024-11-13 17:23:32 +01:00
commit ca85765ca2
16 changed files with 1637 additions and 11 deletions

View file

@ -0,0 +1,20 @@
#if TOOLS
using Godot;
[Tool]
public partial class DebugGUISettingsInitializer : EditorPlugin
{
const string DEBUGGUI_RES_PATH = "res://addons/DebugGUI/DebugGUI.cs";
public override void _EnterTree()
{
DebugGUI.Settings.Init();
AddAutoloadSingleton(nameof(DebugGUI), DEBUGGUI_RES_PATH);
}
public override void _ExitTree()
{
RemoveAutoloadSingleton(nameof(DebugGUI));
}
}
#endif