Hi, My current setup in my level is for the player to use either the W or E keys for forward input. I currently have two scripts one for the Left Foot (W Key) and one for the right foot (E Key) Which basically say if the key is pressed then play an audio clip. I then have my player object set-up in a hierarchy with the main camera parenting a game object. The game object contains an audio source and the left and right footstep scripts when pressing W or E keys. The reasoning for this setup is because I am using Kinect with this.
My question is how do I get the Left and Right footstep keys to play different sounds in different areas? At the moment they have only one audio attached to each script. How would I make it so I can change the audio clip these play in different trigger areas e.g. if you want a section to sound like shallow water play a splashing footstep on either script?
Quite new with Unity so detailed explanations would be magnificent!