i have sound trigger 1 and sound trigger 2 How can i make the trigger 2 dissapear after the player passes through the trigger 1 and the oposite (when the player passes trigger 2 the trigger 1 dissapears) ?
you can use audio.Stop(); to stop sound or were you looking for something a little different?
bit of example script
audio.PlayOneShot(scene1sound, 1F); // Scene 1 sound
//Trigger2 starts here
audio.Stop(); // Stop Sound
audio.PlayOneShot(scene2sound, 1F); // Scene 2 sound
//Trigger1 starts here
audio.Stop(); // Stop Sound
audio.PlayOneShot(scene2sound, 1F); // Scene 1 sound
here is the API with a lot of handy things when it comes to sound
Edit: Added link to AudioSource