The best way to get around this is to use audioSource.PlayOneShot() as opposed to audioSource.Play(). Keep in mind that PlayOneShot requires an audioClip parameter, so you should make a
public AudioClip hitClip;
and call
audioSource.PlayOneShot(hitClip);
↧