Im trying to make that when i look at enemy at certain distance it plays a dramatic sound once. Even though im using !audio.isPlaying it still plays them stacked.
if(distance < 10 && isMoving == true && !audio.isPlaying){
audio.clip = growl;
audio.Play();
}
Whats wrong with this?