When I hit my coin, the score works fine, the coin disappears, but the audio clip won’t play. I have an audio source on my coin, here is the code.
function OnTriggerEnter(hit: Collider){
if (hit.gameObject.name == “Character”){
audio.Play();
Destroy(gameObject);
Score.score++;
}
}