mirror of
https://port.numenaute.org/aleajactaest/khanat-client.git
synced 2024-11-14 03:09:10 +00:00
12 lines
No EOL
424 B
GDScript
12 lines
No EOL
424 B
GDScript
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("ui_window", "MarginContainer", preload("ui_window.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("ui_window") |