// Update is called once per frame void Update() { // TEST if (Input.GetKeyDown(KeyCode.U)) { // Hurt yourself when you press U player.Hurt(10, new Vector2(1, 1)); } /////// GetInput(); player.Move(inputH); player.Climb(inputV); // << THIS, if (isJumping) { player.Jump(); } if (isCrouching) { player.Crouch(); } else { player.UnCrouch(); } }