public override void StateUpdate()
 {
     mi        = pi.GetMovementInput();
     jumpInput = pi.GetJumpInput();
     //Only allow the player to jump if they stop pressing the jump input
     if (jumpInput == 0f)
     {
         canJump = true;
     }
     cancelClimb = pi.GetCancelClimbInput();
     //Default playerstate behavior to swap weapons in any state
     HandleWeaponSwapInput(pi);
 }