Adding Plugin Structure
This commit is contained in:
parent
9131afc04d
commit
91ff24488c
|
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
[plugin]
|
||||
|
||||
name="Rokojori Action Library"
|
||||
description="Rokojori plugin for the library"
|
||||
author="Rokojori"
|
||||
version="1.0"
|
||||
script="RokojoriPlugin.cs"
|
Loading…
Reference in New Issue