@tool extends EditorPlugin var _dock : Control func _enter_tree() -> void: PokeApiSettings.register() _dock = preload("editor/importer_dock.gd").new() _dock.name = "PokeAPI" _dock.editor_filesystem = EditorInterface.get_resource_filesystem() add_control_to_dock(DOCK_SLOT_RIGHT_UL, _dock) func _exit_tree() -> void: remove_control_from_docks(_dock) _dock.queue_free()