Added menu selection sound

This commit is contained in:
2025-12-26 11:47:09 +03:00
parent a7aeacd547
commit 099cda6368
10 changed files with 124 additions and 1 deletions
+7
View File
@@ -19,6 +19,13 @@ func _ready() -> void:
_update_continue_button()
func _input(event: InputEvent) -> void:
if event.is_action_pressed("ui_up"):
SoundManager.play_ui_stream(SoundManager.ui_stream_previous)
if event.is_action_pressed("ui_down"):
SoundManager.play_ui_stream(SoundManager.ui_stream_next)
func _on_visibility_changed() -> void:
if not is_node_ready(): return
if not visible: return