12 lines
291 B
GDScript
12 lines
291 B
GDScript
@tool
|
|
extends EditorPlugin
|
|
|
|
const AUTOLOAD_NAME = "GodotxToast"
|
|
const AUTOLOAD_PATH = "res://addons/godotx_toast/runtime/godotx_toast.gd"
|
|
|
|
func _enter_tree() -> void:
|
|
add_autoload_singleton(AUTOLOAD_NAME, AUTOLOAD_PATH)
|
|
|
|
func _exit_tree() -> void:
|
|
remove_autoload_singleton(AUTOLOAD_NAME)
|