Closed HybridSquirrel closed 3 years ago
Fixed by using public void OnJump(InputAction.CallbackContext value) { if (value.performed) { UpdateJump(true); }
if (value.canceled)
{
UpdateJump(false);
}
}
and animation with this bug by checking if value is true
After porting to new inputsystem jump mechanic is broken. Dynamic value is needed for the range of hight to be fixed.