khanat-client/addons/kh_slider/kh_h_slider_plugin.gd

9 lines
208 B
GDScript3
Raw Normal View History

2020-03-21 09:10:26 +00:00
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")