- Home /
Animation Bug?,
When I play an animation it stops at 2 seconds, when it's supposed to stop at 1.5. There's no Keys, Key Frames, or Animation Events. Am I doing something wrong?,This might seem like a stupid question but is this a bug?
The problem is, I have an animation that supposed to stop around 1.5 seconds. But it stops at 2 seconds. I looked and saw that there was no Key, Keyframe, or Animation Event. But there are colored lines that tell me that there's something there. Did I do something wrong? Or is there a bug?
I don't understand what you are talking about. The animation that you are playing, is it 2 seconds long?
Answer by xtplpune · Mar 23, 2012 at 08:42 AM
nothing is the problem.....
just write the code for animation.Play();
give the time unto 1.5 sec by using yield WaitForSeconds(1.5);
then write the code for stop the animation by animation.Stop();
try like this.......
Your answer
![](https://koobas.hobune.stream/wayback/20220613065434im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Plsss help :( plsss -1 Answers
Animation doesn't affect the new instantiated object. 0 Answers
Animation Not Playing when Imported. 0 Answers
Animation only partially plays 0 Answers
how to declare a animation var 3 Answers