- Home /
Wait mecanim animation to finish before doing more instructions
Hello. I have serched the web and unityanswers, tried differents potencial solutions but none of them have worked in my case. I got a character animated by mecanim and I know how to do this with the old animation system but with mecanim I got no clue.
Basically I have a melee attack animation and I want the animation to finish and then apply the damage to the enemy. Waiting the animation length would be a way, but there's no way to know that, CurrentState because of the transitions is not the one I want information from and its not very accurate on this case. I saw other answers already and none helped too much. I'm working on C#, thanks.
Your answer
Follow this Question
Related Questions
Mecanim. Change state under parameter condition problem. 1 Answer
How can I know if the currentAnimState is mirrored or not? 0 Answers
Problem with mecanim states switching back for a split second 0 Answers
Synchronize two animator states to have the same normalized time - Mecanim 0 Answers
Mecanim - Trigger event Invokation 0 Answers