mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-22 17:50:25 +01:00
16 lines
372 B
GDScript
16 lines
372 B
GDScript
# Copyright (c) 2020 The GodotXterm authors. All rights reserved.
|
|
# License MIT
|
|
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
|