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

9 lines
163 B
GDScript3
Raw Normal View History

2020-03-21 09:10:26 +00:00
extends Button
signal music_selected( filename )
var music_filename = ""
func _on_music_button_pressed():
2021-01-21 21:03:44 +00:00
emit_signal( "music_selected", self.music_filename )