added addon as plugin to simplefy gdscript user code
This commit is contained in:
8
project/addons/discord-rpc-gd/plugin.gd
Normal file
8
project/addons/discord-rpc-gd/plugin.gd
Normal 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")
|
Reference in New Issue
Block a user