Added UI sound effects

This commit is contained in:
2024-02-29 00:12:14 +01:00
parent 9e3b595f71
commit e3330c7f42
9 changed files with 80 additions and 21 deletions

View File

@ -1,5 +0,0 @@
class_name Audio
static func mute(enabled: bool):
var master_sound = AudioServer.get_bus_index("Master")
AudioServer.set_bus_mute(master_sound, enabled)