mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-07 21:45:54 +00:00
Debug addon and removed old scaling
This commit is contained in:
parent
ed502eb061
commit
ca85765ca2
16 changed files with 1637 additions and 11 deletions
20
addons/DebugGUI/DebugGUISettingsInitializer.cs
Normal file
20
addons/DebugGUI/DebugGUISettingsInitializer.cs
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue