Search Unity

Animator controller

Discussion in 'Animation' started by UFODriverr, Dec 2, 2016.

  1. UFODriverr

    UFODriverr

    Joined:
    Nov 20, 2014
    Posts:
    21
    Will you ever add function to change Variables in animator controller when animation ended/started? (Really missing such feature, yeah i can use animation event but create script for this every time, rly? (+ some times animations skip some keys and you end up with glitches))
    Like:
    ss.jpg
     
  2. SethMeshko

    SethMeshko

    Joined:
    Sep 20, 2014
    Posts:
    109
    You can use behavior scripts on the state to do this.
    Click on the state in the animator window and add a behavior on the state exit that sets the parameter to the value you would like.