i need a script that activates an audio source when the player walks into it. if you need to see the game just say so
You can use a trigger to detect when an entity enters a zone, and then activate the sound. Here is a tutorial on how to setup triggers:
Edit: Please avoid opening duplicates posts about the same subject!
ok thanks. and sorry
also i dont undestand how
So, the tutorial has instructions on how to add a collision/trigger component to your project. Did you read that?