Search Unity

Check if animator is done playing...

Discussion in 'Scripting' started by WhatMade, Sep 26, 2014.

  1. WhatMade

    WhatMade

    Joined:
    Jan 31, 2014
    Posts:
    21
    So, having a brain fart at the moment. Imported a sprite sheet into unity. Cut it up into multiple sprites, then dragged them onto the scene and created the animated object. It has an animator attached but no animation. Just wondering how I would check if it was done animating. It's not on loop, but I can't figure it out. I did a google search, but actually came up empty. I'm coding in C#. Any help would be greatly appreciated. Thanks!