This repository has been archived on 2020-09-30. You can view files and clone it, but cannot push or open issues or pull requests.
odyssey-old/addons/pnhelper/plugin.gd

13 lines
250 B
GDScript

tool
extends EditorPlugin
var dock
func _enter_tree():
dock = preload("res://addons/pnhelper/pngui.tscn").instance()
dock.api = self
add_control_to_dock(DOCK_SLOT_RIGHT_BL, dock)
func _exit_tree():
remove_control_from_docks(dock)
dock.free()