Search Unity

Reset to default state when animation has finished

Discussion in 'Scripting' started by llamagod, Feb 8, 2016.

  1. llamagod

    llamagod

    Joined:
    Sep 27, 2015
    Posts:
    76
    Hello
    I want to reset to default state when the animation clip attached to the animator state has finished. Could anyone please tell me how to get the total current animation length, or some workaround of how to do this?

    Thanks.