mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:25:35 +00:00
20 lines
412 B
C#
20 lines
412 B
C#
#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
|