godot-xterm/addons/godot_xterm/plugin.gd

17 lines
372 B
GDScript3
Raw Permalink Normal View History

2020-05-10 12:56:49 +02:00
# Copyright (c) 2020 The GodotXterm authors. All rights reserved.
# License MIT
2020-05-09 19:07:31 +02:00
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