add click sound as SFX
This commit is contained in:
@@ -60,6 +60,7 @@ func _input(event):
|
||||
get_viewport().set_input_as_handled()
|
||||
|
||||
func _on_back_button_pressed():
|
||||
AudioManager.play_ui_click()
|
||||
print("Back button pressed")
|
||||
_exit_settings()
|
||||
|
||||
@@ -96,6 +97,7 @@ func update_text():
|
||||
|
||||
|
||||
func _on_reset_setting_button_pressed() -> void:
|
||||
AudioManager.play_ui_click()
|
||||
print("Resetting settings")
|
||||
settings_manager.reset_settings_to_defaults()
|
||||
_update_controls_from_settings()
|
||||
|
||||
Reference in New Issue
Block a user