Animate and add sound to countdown
This commit is contained in:
parent
60ee4185e2
commit
8b0817b15d
6 changed files with 66 additions and 5 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue