aboutsummaryrefslogtreecommitdiff
path: root/game/addons/openvic2-plugin/openvic2-plugin.gd
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-03-29 08:18:16 +0200
committer GitHub <noreply@github.com>2023-03-29 08:18:16 +0200
commit8f213935bdea2400b6809f9d5db45dde3416dedc (patch)
tree9d333d26e18e0ad29979170edc031f60866e40cd /game/addons/openvic2-plugin/openvic2-plugin.gd
parentcb5858b80c6dc9918b8366a433ca78a5d4adebed (diff)
parent793a8939c4f721844c276a3d49293c23c902c8d3 (diff)
Merge pull request #79 from Spartan322/general-release-info
Diffstat (limited to 'game/addons/openvic2-plugin/openvic2-plugin.gd')
-rw-r--r--game/addons/openvic2-plugin/openvic2-plugin.gd12
1 files changed, 12 insertions, 0 deletions
diff --git a/game/addons/openvic2-plugin/openvic2-plugin.gd b/game/addons/openvic2-plugin/openvic2-plugin.gd
new file mode 100644
index 0000000..8cfa4e8
--- /dev/null
+++ b/game/addons/openvic2-plugin/openvic2-plugin.gd
@@ -0,0 +1,12 @@
+@tool
+extends EditorPlugin
+
+const ReleaseExportEditorPlugin := preload("res://addons/openvic2-plugin/ReleaseExportEditorPlugin.gd")
+var release_export_editor_plugin := ReleaseExportEditorPlugin.new()
+
+func _enter_tree() -> void:
+ add_export_plugin(release_export_editor_plugin)
+
+
+func _exit_tree() -> void:
+ remove_export_plugin(release_export_editor_plugin)