mirror of
https://github.com/Relintai/pandemonium_engine_easy_charts.git
synced 2024-12-29 14:17:18 +01:00
20 lines
412 B
GDScript
20 lines
412 B
GDScript
tool
|
|
extends ToolButton
|
|
|
|
var fileditor_workspace
|
|
var fileditor
|
|
|
|
func _ready():
|
|
connect("pressed",self,"show_fileditor")
|
|
|
|
func show_fileditor():
|
|
fileditor_workspace.get_children()[0].hide()
|
|
fileditor_workspace.get_children()[1].hide()
|
|
fileditor_workspace.get_children()[2].hide()
|
|
fileditor_workspace.add_child(fileditor)
|
|
fileditor.show()
|
|
|
|
func load_values(fi, fe):
|
|
fileditor_workspace = fi
|
|
fileditor = fe
|