mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-11 14:05:54 +00:00
13 lines
244 B
GDScript
13 lines
244 B
GDScript
@tool
|
|
extends EditorPlugin
|
|
|
|
var dock
|
|
|
|
func _enter_tree():
|
|
dock = preload("res://addons/scene_palette/palette.tscn").instantiate()
|
|
add_control_to_dock(DOCK_SLOT_LEFT_UL, dock)
|
|
|
|
|
|
func _exit_tree():
|
|
remove_control_from_docks(dock)
|
|
dock.free()
|