diff --git a/RokojoriPlugin.cs b/RokojoriPlugin.cs new file mode 100644 index 0000000..3d4f313 --- /dev/null +++ b/RokojoriPlugin.cs @@ -0,0 +1,23 @@ + +using Godot; +using Rokojori; +using System.Collections.Generic; + +namespace Rokojori +{ + [Tool] + public partial class RokojoriPlugin:EditorPlugin + { + GizmoDrawerPlugin gizmoDrawerPlugin = new GizmoDrawerPlugin(); + + public override void _EnterTree() + { + AddNode3DGizmoPlugin( gizmoDrawerPlugin ); + } + + public override void _ExitTree() + { + RemoveNode3DGizmoPlugin( gizmoDrawerPlugin ); + } + } +} \ No newline at end of file diff --git a/plugin.cfg b/plugin.cfg new file mode 100644 index 0000000..e97c26c --- /dev/null +++ b/plugin.cfg @@ -0,0 +1,7 @@ +[plugin] + +name="Rokojori Action Library" +description="Rokojori plugin for the library" +author="Rokojori" +version="1.0" +script="RokojoriPlugin.cs"