TestGame/addons/console/console_plugin.gd

12 lines
214 B
GDScript3
Raw Normal View History

2024-12-27 21:00:07 +01:00
@tool
extends EditorPlugin
func _enter_tree():
print("Console plugin activated.")
add_autoload_singleton("Console", "res://addons/console/console.gd")
func _exit_tree():
remove_autoload_singleton("Console")