godot-xterm/addons/godot_xterm/plugin.gd
2020-05-10 01:42:19 +07:00

14 lines
292 B
GDScript

tool
extends EditorPlugin
func _enter_tree():
var script = preload("res://addons/godot_xterm/terminal.gd")
var texture = preload("res://addons/godot_xterm/icon.svg")
add_custom_type("Terminal", "Control", script, texture)
pass
func _exit_tree():
remove_custom_type("Terminal")
pass