protected override void FixedUpdate() { GetAnimator.SetBool("IsGround", groundChecker.IsGround); GetAnimator.SetFloat("VelocityY", Rigid.velocity.y); base.FixedUpdate(); }
private void FixedUpdate() { isGround = CheckGround(); GetAnimator.SetBool("IsGround", isGround); Move(horizontal); float vY = Rigid.velocity.y; GetAnimator.SetFloat("VelocityY", vY); }