added addon as plugin to simplefy gdscript user code

This commit is contained in:
Yannik
2023-04-20 11:43:28 +02:00
parent 4701514f3b
commit d867881678
9 changed files with 41 additions and 6 deletions

View File

@@ -0,0 +1,8 @@
@tool
extends EditorPlugin
func _enter_tree():
add_autoload_singleton("Discord", "res://addons/discord-rpc-gd/loadaddon.gd")
func disable_plugin():
remove_autoload_singleton("Discord")