initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
@tool
|
||||
class_name LoggieConsoleEditorPlugin extends EditorPlugin
|
||||
|
||||
const AUTOLOAD_NAME = &"LoggieConsoleAutoload"
|
||||
|
||||
func _enter_tree():
|
||||
add_autoload_singleton(AUTOLOAD_NAME, "res://addons/loggie-console/scenes/console.tscn")
|
||||
|
||||
func _exit_tree():
|
||||
remove_autoload_singleton(AUTOLOAD_NAME)
|
||||
|
||||
func _enable_plugin() -> void:
|
||||
print("%s enabled" % AUTOLOAD_NAME)
|
||||
|
||||
func _disable_plugin() -> void:
|
||||
print("%s disabled" % AUTOLOAD_NAME)
|
||||
Reference in New Issue
Block a user