Hi everybody,
I'm using AC 1.60.7 and Unity 2017.1.1f1 for a 2d game.
I have this kind of problem: I'd like to add a sound to my character only when he's on idle.
In my case I have a character that's using a typewriter (idle animation) and I'd like to add the sound of typewriter. But, for example, when he speaks and stops to use the typewriter, the sound has to stop and restart when the character goes on idle again (like the footsteps for the walking animation). How can I make it?
Thank you
Comments
An event could either call an AudioSource component's Play method (to play the audio directly), or an AC Sound component's Play method (to play it using AC's SFX volume control).