mirror of
https://github.com/Relintai/godot-engine.file-editor.git
synced 2024-11-12 22:27:22 +01:00
14 lines
257 B
GDScript
14 lines
257 B
GDScript
tool
|
|
extends EditorPlugin
|
|
|
|
var doc
|
|
var plugin_version
|
|
|
|
func _enter_tree():
|
|
doc = preload("../scenes/FileEditor.tscn").instance()
|
|
add_control_to_dock(EditorPlugin.DOCK_SLOT_LEFT_BR,doc)
|
|
|
|
|
|
func _exit_tree():
|
|
remove_control_from_docks(doc)
|
|
doc.queue_free() |