Animation is called but doesn't play
Even when the transion is called the blue bar continues stopped in the same spot.
Answer by aditya23dedhia · Jul 23, 2019 at 07:27 PM
This happens when your code repeatedly plays the animation not allowing for it to finish. Please send your code so I can have a look at it.
public void Creditos(){
animator.SetInteger("valor", 2);
Botao_creditos.SetActive(true);
Botao_sair.SetActive(false);
}
That's the function I call when the button is pressed
I tried to change the code and tests other ways to call the animation, but the problem continues.
Answer by stique93 · Sep 07, 2020 at 06:22 PM
I found the answer in this post.
https://answers.unity.com/questions/717046/animator-state-freezing-blue-bar-progress-bar-not.html
Your answer
Follow this Question
Related Questions
I can't see or access a state in the Animation Controler 1 Answer
Animation from child object overrided by its parent and won't show in game window 0 Answers
Applying permanent mask to player animators walk 0 Answers
Can't change any values in the animation Window [w/ video] (bug?) 1 Answer
animator layer swap 0 Answers