readme
This commit is contained in:
22
addons/BITPlugins/BITGodotPlugins.cs
Normal file
22
addons/BITPlugins/BITGodotPlugins.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
#if TOOLS
|
||||
namespace BITKit;
|
||||
[Tool]
|
||||
public partial class BITGodotPlugins : EditorPlugin
|
||||
{
|
||||
private InspectorPlugins _plugin;
|
||||
public override void _EnterTree()
|
||||
{
|
||||
_plugin = new InspectorPlugins();
|
||||
AddInspectorPlugin(_plugin);
|
||||
}
|
||||
|
||||
public override void _ExitTree()
|
||||
{
|
||||
RemoveInspectorPlugin(_plugin);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user