Search Unity

Simple way to add audio to your animations

Discussion in 'Animation' started by CarreraSilvio, Apr 7, 2019.

  1. CarreraSilvio

    CarreraSilvio

    Joined:
    Jul 21, 2012
    Posts:
    31
    Hey guys. Many times I've added audio to a character I'd always use another class for some reason or have to time the audio right with the animation in some weird way.



    So I've come up with this solution this time around. Simply add the PlayAudioClip behaviour to the state you want to play audio in and set up the conditions.

    I wrote a full post here about it: https://medium.com/@silviocarrera/unity-brightlib-animator-audio-da141b2d6609

    Please let me know your thoughts!
    Cheers!
     
    Nintendo-Silence likes this.