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")