파괴 가능 오브젝트에 대해서 피격 시 로그를 남기도록 함

This commit is contained in:
2026-02-16 09:52:14 +09:00
parent 047c115f95
commit 5bb8cd533e
3 changed files with 149 additions and 1 deletions

View File

@@ -76,6 +76,8 @@ namespace Northbound
int actualDamage = Mathf.Min(damage, _currentHealth.Value);
_currentHealth.Value -= actualDamage;
Debug.Log($"<color=red>[EnemyUnit] 적 유닛이 {actualDamage} 데미지를 받았습니다. 남은 체력: {_currentHealth.Value}/{maxHealth}</color>");
// 데미지 이펙트
ShowDamageEffectClientRpc();