- Home /
Play animation after certain animation finished
Let's say i have AttackAnimation and IdleAnimation When AttackAnimation is finished i want to start Idle Animation That doesn't work
if(this.animator.GetCurrentAnimatorStateInfo(0).IsName("YourAnimationName"))
{
}
else
{
StartCoroutine(Attack());
}
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613052516im_/https://answers.unity.com/themes/thub/images/avi.jpg)