Fix World Camera

This commit is contained in:
2022-08-20 15:38:13 -07:00
parent 15a7e16650
commit 349c4dc4b6
26 changed files with 4085 additions and 2158 deletions

View File

@@ -26,7 +26,8 @@ namespace Scampz.GameJam.Assets.Scripts.Audio
public void PlaySoundEffect(string soundEffect)
{
var audioClip = GetClipFromName(soundEffect);
_audioSource.PlayOneShot(audioClip);
_audioSource.clip = audioClip;
_audioSource.Play();
}
public void StopSoundEffect()