Files
Factory47/addons/savekit/plugin.gd
2026-06-04 16:53:41 -05:00

20 lines
463 B
GDScript

@tool
extends EditorPlugin
const SAVE_MANAGER_AUTOLOAD_NAME := "SaveManager"
const SAVE_MANAGER_PATH := "save_manager.gd"
func _enable_plugin() -> void:
add_autoload_singleton(SAVE_MANAGER_AUTOLOAD_NAME, SAVE_MANAGER_PATH)
func _disable_plugin() -> void:
remove_autoload_singleton(SAVE_MANAGER_AUTOLOAD_NAME)
func _enter_tree() -> void:
# Initialization of the plugin goes here.
pass
func _exit_tree() -> void:
# Clean-up of the plugin goes here.
pass