Files
leonwww/flumi/addons/SmoothScroll/plugin.gd
2025-08-02 14:18:14 +03:00

13 lines
399 B
GDScript

@tool
extends EditorPlugin
func _enter_tree():
add_custom_type("ScrollDamper", "Resource", preload("scroll_damper/scroll_damper.gd"), preload("scroll_damper/icon.svg"))
add_custom_type("SmoothScrollContainer", "ScrollContainer", preload("SmoothScrollContainer.gd"), preload("class-icon.svg"))
func _exit_tree():
remove_custom_type("ScrollDamper")
remove_custom_type("SmoothScrollContainer")