GraphicsEditor/addons/graphics_editor/plugin.gd

10 lines
256 B
GDScript3
Raw Normal View History

2019-08-04 09:57:42 +02:00
tool
extends EditorPlugin
var editor_scene = load("res://addons/graphics_editor/Editor.tscn").instance()
func _enter_tree():
add_control_to_bottom_panel(editor_scene, "Graphics Editor")
func _exit_tree():
remove_control_from_bottom_panel(editor_scene)