디버깅용 로그 제거

This commit is contained in:
2026-02-16 22:17:37 +09:00
parent 2f624f621c
commit f73c660579
21 changed files with 65 additions and 258 deletions

View File

@@ -65,8 +65,6 @@ using UnityEngine;
{
_team.Value = portalTeam;
}
Debug.Log($"<color=cyan>[EnemyPortal] 포털 스폰됨 (팀: {TeamManager.GetTeamName(_team.Value)}, 체력: {_currentHealth.Value}/{maxHealth})</color>");
}
GlobalTimer.Instance.OnCycleStart += OnCycleStart;
@@ -104,7 +102,6 @@ using UnityEngine;
if (monsterData == null)
{
Debug.LogWarning($"[EnemyPortal] Could not find MonsterData on {selectedEntry.prefab.name}");
continue;
}
@@ -121,11 +118,6 @@ using UnityEngine;
remainingCost -= monsterData.cost;
spawnedCount++;
}
if (spawnedCount > 0)
{
Debug.Log($"[EnemyPortal] Spawned {spawnedCount} monsters (Cost used: {currentCost - remainingCost:F2})");
}
}
private bool CanSpawnAnyMonster(float remainingCost)
@@ -200,8 +192,6 @@ using UnityEngine;
var netObj = enemy.GetComponent<NetworkObject>();
netObj.Spawn(true);
Debug.Log($"<color=cyan>[EnemyPortal] {enemy.name} 스폰됨 - OwnerClientId: {netObj.OwnerClientId}, IsServer: {IsServer}</color>");
}
private void IncreaseCost()
@@ -238,7 +228,6 @@ using UnityEngine;
{
if (!TeamManager.CanAttack(attackerTeamMember, this))
{
Debug.Log($"<color=yellow>[EnemyPortal] {TeamManager.GetTeamName(attackerTeamMember.GetTeam())} 팀은 {TeamManager.GetTeamName(_team.Value)} 팀 포털을 공격할 수 없습니다.</color>");
return;
}
}
@@ -248,8 +237,6 @@ using UnityEngine;
int actualDamage = Mathf.Min(damage, _currentHealth.Value);
_currentHealth.Value -= actualDamage;
Debug.Log($"<color=red>[EnemyPortal] 포털이 {actualDamage} 데미지를 받았습니다. 남은 체력: {_currentHealth.Value}/{maxHealth}</color>");
// 데미지 이펙트
ShowDamageEffectClientRpc();
@@ -264,8 +251,6 @@ using UnityEngine;
{
if (!IsServer) return;
Debug.Log($"<color=red>[EnemyPortal] 포털이 파괴되었습니다! (공격자: {attackerId})</color>");
// 파괴 이펙트
ShowDestroyEffectClientRpc();