mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-22 17:50:25 +01:00
13 lines
381 B
GDScript3
13 lines
381 B
GDScript3
|
tool
|
||
|
extends EditorPlugin
|
||
|
|
||
|
func _enter_tree():
|
||
|
# Initialization of the plugin goes here
|
||
|
# Add the new type with a name, a parent type, a script and an icon
|
||
|
add_custom_type("Gut", "Control", preload("gut.gd"), preload("icon.png"))
|
||
|
|
||
|
func _exit_tree():
|
||
|
# Clean-up of the plugin goes here
|
||
|
# Always remember to remove it from the engine when deactivated
|
||
|
remove_custom_type("Gut")
|