mirror of
https://github.com/Relintai/godot-engine.file-editor.git
synced 2025-02-22 07:37:57 +01:00
Delete FileEditorButton.gd
This commit is contained in:
parent
5022ddf3a2
commit
1674456fbc
@ -1,19 +0,0 @@
|
|||||||
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
|
|
Loading…
Reference in New Issue
Block a user