Search Unity

Get duration of animation transition between animation states

Discussion in 'Scripting' started by Elisabeth123, Jun 27, 2016.

  1. Elisabeth123

    Elisabeth123

    Joined:
    Feb 17, 2016
    Posts:
    13
    Hi!
    I am using the Mecanim system. I know that it is possible to get and set the time of the current animation state and also to get the length of it, but from the transition info I am only getting the time but not the length. Is there a way to get the duration of the transition as well?