mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-09 19:51:16 +00:00
Added scene palette addon
This commit is contained in:
parent
616062c62d
commit
687d3f7803
43 changed files with 1471 additions and 0 deletions
13
addons/scene_palette/scene_palette.gd
Normal file
13
addons/scene_palette/scene_palette.gd
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
@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()
|
||||
Loading…
Add table
Add a link
Reference in a new issue