- Home /
animation.Play isn't working
private var zimGO: GameObject; //already found.
else if(Input.GetKey(KeyCode.S)){
rigidbody2D.velocity.y = (moveSpeed*-1) * Time.deltaTime;
rigidbody2D.velocity.x = 0;
zimGO.animation.Play("ZimDown");
Well I've look up plenty of things and nothing helps me. I make an animation out of sprites and put it in an animation folder in my assets. Then add the animation to my character. When i press 'S' it should play the animation, but it either says it needs to be legacy(if it is it doesn't change anything) or it just doesn't do anything.
Answer by haim96 · Apr 02, 2014 at 07:58 PM
http://answers.unity3d.com/questions/626606/what-do-i-wrong-using-animation.html
or this one: http://answers.unity3d.com/questions/577801/animation-must-be-marked-as-legacy.html
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Walking animation problem. 0 Answers
Player Animation HELP REQUIRED PLEASE 2 Answers
How to make a animation rotation js.script? 2 Answers
Why cant i get my animation to play? 0 Answers