Answer the question
In order to leave comments, you need to log in
Unity3D: Why is the animation not playing?
Hello! I have a problem with animation. There is a gui element text that should change transparency at the right time, and the animation call should be from a script on another object. The Animation component hangs on this text. In the script at the start, animation is added to it and playback starts:
gameOverText.animation.AddClip(gameOverAnim, "GameOver");
gameOverText.animation.Play("GameOver");
Answer the question
In order to leave comments, you need to log in
Rintime color animation not working - here is the answer to my question, which I eventually found.
Are there any errors in the console? The Play method will return false, if it cannot play the animation, try debugging it. Have you tried adding this animation by hand? Does she work at all?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question