khanat-client/addons/kh_slider/kh_h_slider_plugin.gd
2021-01-21 22:03:44 +01:00

8 lines
202 B
GDScript

tool
extends EditorPlugin
func _enter_tree():
add_custom_type("KhHSlider", "HBoxContainer", preload("kh_h_slider.gd"), preload("kh_h_slider.png"))
func _exit_tree():
remove_custom_type("KhHSlider")