khanat-client/scenes/interfaces/music_manager/music_button.gd

8 lines
163 B
GDScript

extends Button
signal music_selected( filename )
var music_filename = ""
func _on_music_button_pressed():
emit_signal( "music_selected", self.music_filename )