Add console open/close functionality to pause menu; update console path in project settings
This commit is contained in:
11
addons/console/console_plugin.gd
Normal file
11
addons/console/console_plugin.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
@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")
|
||||
Reference in New Issue
Block a user