void FixedUpdate() { controller.Move(horizontalMove * Time.fixedDeltaTime, false, jump); jump = false; if (dashing) { transform.position += direction * dashSpeed * Time.deltaTime; } }