- Home /
Question by
Concore Dev · Aug 23, 2013 at 06:16 PM ·
audio clippinghow manyaudio prioritydo not
how do you make walking audio for android?
Rpg Game
Comment
Answer by iviaguic · Aug 24, 2013 at 10:22 AM
I don't really get your question... It's pretty easy:
NOTE: This is a C# Script
You could, for example, use any of internet's free FX sounds and then create a script like this:
if ( Input.GetKey ( "W" ) || Input.GetKey ( "S" ) || Input.GetKey ( "A" ) || Input.GetKey ( "D" ) )
{
// Play The sound
}
Where i've written // Play The Sound, you'll need to create the sound script, that (if I'm not wrong), would be:
void Audio.Play ( );