- 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