Search Unity

Check if a specific animation is playing in Sprite Manager?

Discussion in 'Scripting' started by klaymator14, Mar 7, 2010.

  1. klaymator14

    klaymator14

    Joined:
    Feb 3, 2009
    Posts:
    153
    Is it possible to make a check to see if an animation, say a walking animation, is currently animating? I know there's a function to see if the sprite is currently animating, but to my knowledge that doesn't check a specific animation... any help?

    -Blayke
     
  2. ooppari

    ooppari

    Joined:
    Jan 29, 2009
    Posts:
    68
  3. klaymator14

    klaymator14

    Joined:
    Feb 3, 2009
    Posts:
    153
    Does that work with SpriteManager? I thought that was only Unity's built in function for animation clips? Thanks!

    -Blayke :)