IEnumerator playLandinganimation(float delay) { letter.GetComponent <Animator>().Play("LL_fall_down"); letter.Falling = true; yield return(new WaitForSeconds(delay)); letter.Falling = false; letter.OnJumpEnded(); letter.GetComponent <Animator>().CrossFade("LL_land", 0.3f); }