menu sounds

This commit is contained in:
pennyrigate 2023-08-26 21:52:26 -04:00
parent 098ab161de
commit ba12787fcb
10 changed files with 63 additions and 16 deletions

View file

@ -0,0 +1,12 @@
extends Node
var can_play: bool = false
func play_select_sound():
if can_play:
$"%SelectSound".play()
else:
can_play = true
func play_confirm_sound():
$"%ConfirmSound".play()