movement update

This commit is contained in:
2026-06-02 10:00:42 +07:00
parent 1490ada744
commit b381bcef32
10 changed files with 850 additions and 677 deletions

View File

@@ -155,7 +155,7 @@ namespace Invector.vCharacterController
}
// isBlocking = blockInput.GetButton() && cc.currentStamina > 0 && !cc.customAction && !isAttacking;
isBlocking = inputReader.IsBlockHeld && cc.currentStamina > 0 && !cc.customAction && !isAttacking;
isBlocking = inputReader != null && inputReader.IsBlockHeld && cc.currentStamina > 0 && !cc.customAction && !isAttacking;
}
/// <summary>