2023-07-17 04:10:14 +08:00
|
|
|
using Godot;
|
|
|
|
using System;
|
|
|
|
|
|
|
|
#if TOOLS
|
|
|
|
namespace BITKit;
|
|
|
|
[Tool]
|
2023-07-18 16:42:33 +08:00
|
|
|
public partial class BITGodotPlugins : EditorPlugin
|
2023-07-17 04:10:14 +08:00
|
|
|
{
|
|
|
|
private InspectorPlugins _plugin;
|
|
|
|
public override void _EnterTree()
|
|
|
|
{
|
|
|
|
_plugin = new InspectorPlugins();
|
|
|
|
AddInspectorPlugin(_plugin);
|
|
|
|
}
|
|
|
|
|
|
|
|
public override void _ExitTree()
|
|
|
|
{
|
|
|
|
RemoveInspectorPlugin(_plugin);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|