사망 시 이동, 액션, 인터랙션 금지

This commit is contained in:
2026-02-25 15:29:21 +09:00
parent 17b3cf6746
commit 4804e78951
3 changed files with 18 additions and 0 deletions

View File

@@ -179,6 +179,9 @@ namespace Northbound
private void OnInteract(InputAction.CallbackContext context)
{
// 플레이어가 죽어있으면 상호작용 불가
if (_networkPlayerController != null && _networkPlayerController.IsDead()) return;
if (blockDuringAnimation && _isInteracting)
return;