Need Audio To Stop When I Touch a Game Object.

Hey, I need to stop an audio when another audio turns on, im trying to make ringing and when I touch the phone the ringing stops, how do I do that? Heres part of my script

function OnControllerColliderHit(hit : ControllerColliderHit) { if(hit.collider.gameObject.tag == "hippo") { = myAudioFile;; }


Between these reference articles and a use of triggers/colliders, you should be able to detect when a collision happens, access the necessary Audio Source Components, and control them as needed.