Audio Playing on Trigger

Can someone please help my im trying to make a horror game and i want the player to go through a invisible object that when triggered will play whatever audio file is set to play can someone please help me with this.
Im using Unity 5.

Thanks. :smile:

Add a script file and use the OnTriggerEnter method to play the audio file. You may find that the trigger fires more than once sometimes, so you’ll want to check if the audio is already playing before telling it to play again.

Ok Thanks i will try that