임시 건설 UI 생성
기타 불필요 디버깅 로그 제거
This commit is contained in:
@@ -44,12 +44,10 @@ namespace Northbound
|
||||
{
|
||||
creepPrefabs.Clear();
|
||||
creepPrefabs.AddRange(prefabs);
|
||||
Debug.Log($"[CreepCamp] SetCreepPrefabs called with {prefabs.Count} prefabs. Current count: {creepPrefabs.Count}");
|
||||
}
|
||||
|
||||
private void SpawnCreeps()
|
||||
{
|
||||
Debug.Log($"[CreepCamp] Starting creep spawn at Z={_zPosition:F1}, strength={campStrength:F2}x, prefabs={creepPrefabs.Count}");
|
||||
|
||||
if (creepPrefabs.Count == 0)
|
||||
{
|
||||
@@ -88,13 +86,11 @@ namespace Northbound
|
||||
continue;
|
||||
}
|
||||
|
||||
Debug.Log($"[CreepCamp] Spawning {selectedCreep.name} (cost: {creepData.cost}, remaining: {remainingCost:F2})");
|
||||
SpawnCreep(selectedCreep);
|
||||
remainingCost -= creepData.cost;
|
||||
spawnedCount++;
|
||||
}
|
||||
|
||||
Debug.Log($"[CreepCamp] Spawned {spawnedCount} creeps at Z={_zPosition:F1} with strength {campStrength:F2}x");
|
||||
}
|
||||
|
||||
private GameObject SelectCreepByCost(float remainingCost)
|
||||
|
||||
Reference in New Issue
Block a user