currently i have a game object which has a mono sound connected to it, i need the mono sound to stop playing once the player has collided with the gameobject and to start play a stereo sound? quite new to javascript any help would be appreciated
this is what ive got so far
var ambience : AudioClip;
var beacon : AudioClip;
function Start () {
}
function Update () {
}
function onCollisionEnter (other : Collision) {
if (other.gameObject.tag == "signaltower") {
audio.clip = beacon;
audio.play();
}
}