mirror of
https://github.com/Relintai/GraphicsEditor.git
synced 2024-11-12 08:15:17 +01:00
13 lines
348 B
GDScript
13 lines
348 B
GDScript
tool
|
|
extends EditorPlugin
|
|
|
|
#TODO: Make a system for setting scripts as tool scripts when running as an editor plugin
|
|
|
|
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)
|