IEnumerator AttackCoroutine() { attackController.DoAttack(); playerController.PlayerAnimationController.IsAttacking = true; yield return(attackCooldown); playerController.PlayerAnimationController.IsAttacking = false; }