Animate and add sound to countdown

This commit is contained in:
BuyMyMojo 2023-03-04 09:06:17 +11:00
parent 60ee4185e2
commit 8b0817b15d
6 changed files with 66 additions and 5 deletions

View file

@ -80,6 +80,11 @@ public class SoundManager : MonoBehaviour
PlaySound(audioClipsRefsSO.footstep, position, volume);
}
public void PlayCountdown()
{
PlaySound(audioClipsRefsSO.warning, Vector3.zero);
}
public void ChangeVolume()
{
volume += .1f;