상호작용 시 모달 UI 추가(임시)

기타 디버깅 로그 제거
This commit is contained in:
2026-02-03 21:32:16 +09:00
parent 02f5aa869a
commit 965a4a25aa
22 changed files with 1082 additions and 363 deletions

View File

@@ -66,7 +66,6 @@ namespace Northbound
private void OnHealthChanged(int previousValue, int newValue)
{
Debug.Log($"<color=red>[Core] 코어 체력 변경: {previousValue} → {newValue} ({newValue}/{maxHealth})</color>");
}
#region ITeamMember Implementation
@@ -94,8 +93,6 @@ namespace Northbound
int actualDamage = Mathf.Min(damage, _currentHealth.Value);
_currentHealth.Value -= actualDamage;
Debug.Log($"<color=red>[Core] 코어가 {actualDamage} 데미지를 받았습니다! 남은 체력: {_currentHealth.Value}/{maxHealth}</color>");
// 데미지 이펙트
ShowDamageEffectClientRpc();
@@ -110,8 +107,6 @@ namespace Northbound
{
if (!IsServer) return;
Debug.Log($"<color=red>[Core] 코어가 파괴되었습니다! 게임 오버!</color>");
// 파괴 이펙트
ShowDestroyEffectClientRpc();
@@ -165,8 +160,6 @@ namespace Northbound
int previousAmount = _totalResources.Value;
_totalResources.Value -= amount;
Debug.Log($"<color=yellow>[Core] {amount} 자원 소비. 남은 자원: {_totalResources.Value}/{maxStorageCapacity}</color>");
}
/// <summary>
@@ -185,8 +178,6 @@ namespace Northbound
if (amount > 0)
{
_totalResources.Value += amount;
Debug.Log($"<color=green>[Core] {amount} 자원 추가. 총 자원: {_totalResources.Value}" +
(unlimitedStorage ? "" : $"/{maxStorageCapacity}") + "</color>");
}
}
@@ -230,11 +221,11 @@ namespace Northbound
{
if (unlimitedStorage)
{
return "[E] 자원 보관 (무제한)";
return "[E] Deposit (No Limit)";
}
else
{
return $"[E] 자원 보관 ({_totalResources.Value}/{maxStorageCapacity})";
return $"[E] Deposit ({_totalResources.Value}/{maxStorageCapacity})";
}
}
@@ -269,7 +260,6 @@ namespace Northbound
int playerResourceAmount = resourceManager.GetPlayerResourceAmount(playerId);
if (playerResourceAmount <= 0)
{
Debug.Log($"플레이어 {playerId}가 건낼 자원이 없습니다.");
return;
}
@@ -292,7 +282,6 @@ namespace Northbound
if (depositAmount <= 0)
{
Debug.Log($"코어의 저장 공간이 부족합니다.");
return;
}
@@ -300,9 +289,6 @@ namespace Northbound
UpdatePlayerResourcesClientRpc(playerId);
_totalResources.Value += depositAmount;
Debug.Log($"<color=green>[Core] 플레이어 {playerId}가 {depositAmount} 자원을 건넸습니다. 코어 총 자원: {_totalResources.Value}" +
(unlimitedStorage ? "" : $"/{maxStorageCapacity}") + "</color>");
ShowDepositEffectClientRpc();
}