Adding Plugin Structure

This commit is contained in:
Josef 2024-11-12 09:44:05 +01:00
parent 9131afc04d
commit 91ff24488c
2 changed files with 30 additions and 0 deletions

23
RokojoriPlugin.cs Normal file
View File

@ -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 );
}
}
}

7
plugin.cfg Normal file
View File

@ -0,0 +1,7 @@
[plugin]
name="Rokojori Action Library"
description="Rokojori plugin for the library"
author="Rokojori"
version="1.0"
script="RokojoriPlugin.cs"