mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-22 23:17:26 -04:00
12 lines
435 B
GDScript
12 lines
435 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("MaxSizeContainer", "MarginContainer", preload("max_size_container.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("MaxSizeContainer")
|