디버깅용 로그 제거

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

@@ -200,15 +200,6 @@ namespace Northbound
DestroyPreview();
ClearDragPreviews();
}
Debug.Log($"[BuildingPlacement] 건설 모드 {(isBuildModeActive ? "" : "")}");
Debug.Log($"[BuildingPlacement] Preview object: {(previewObject != null ? "CREATED" : "NULL")}");
if (previewObject != null)
{
Debug.Log($"[BuildingPlacement] Preview position: {previewObject.transform.position}");
Debug.Log($"[BuildingPlacement] Preview scale: {previewObject.transform.localScale}");
Debug.Log($"[BuildingPlacement] Preview active: {previewObject.activeSelf}");
}
}
/// <summary>
@@ -240,7 +231,6 @@ namespace Northbound
CreatePreview();
}
Debug.Log($"[BuildingPlacement] 건물 선택됨: {BuildingManager.Instance.availableBuildings[index].buildingName}");
}
private void CreatePreview()
@@ -251,10 +241,6 @@ namespace Northbound
return;
}
Debug.Log($"<color=cyan>[BuildingPlacement] Creating preview...</color>");
Debug.Log($"<color=cyan>[BuildingPlacement] BuildingManager.availableBuildings.Count: {BuildingManager.Instance.availableBuildings.Count}</color>");
Debug.Log($"<color=cyan>[BuildingPlacement] selectedBuildingIndex: {selectedBuildingIndex}</color>");
if (selectedBuildingIndex < 0 || selectedBuildingIndex >= BuildingManager.Instance.availableBuildings.Count)
{
Debug.LogWarning($"[BuildingPlacement] 유효하지 않은 건물 인덱스: {selectedBuildingIndex}");
@@ -274,9 +260,6 @@ namespace Northbound
return;
}
Debug.Log($"<color=green>[BuildingPlacement] TowerData: {data.buildingName}, Prefab: {data.prefab.name}</color>");
Debug.Log($"<color=green>[BuildingPlacement] Prefab scale: {data.prefab.transform.localScale}</color>");
// 완성 건물 프리팹으로 프리뷰 생성 (사용자가 완성 모습을 볼 수 있도록)
previewObject = Instantiate(data.prefab);
@@ -318,7 +301,6 @@ namespace Northbound
obstacle.enabled = false;
}
Debug.Log($"[BuildingPlacement] 프리뷰 생성됨: {data.buildingName}");
}
private void DestroyPreview()