디버깅용 로그 제거
This commit is contained in:
@@ -39,7 +39,6 @@ namespace Northbound
|
||||
// NetworkManager 준비 대기
|
||||
if (NetworkManager.Singleton == null || !NetworkManager.Singleton.IsClient)
|
||||
{
|
||||
Debug.LogWarning("[FogOfWar] NetworkManager가 준비되지 않았습니다. 대기 중...");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -55,7 +54,6 @@ namespace Northbound
|
||||
var fogSystem = FogOfWarSystem.Instance;
|
||||
if (fogSystem == null)
|
||||
{
|
||||
Debug.LogError("[FogOfWar] FogOfWarSystem을 찾을 수 없습니다! 씬에 FogOfWarSystem GameObject가 있는지 확인하세요.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -84,10 +82,6 @@ namespace Northbound
|
||||
instanceMaterial.mainTexture = _fogTexture;
|
||||
_meshRenderer.material = instanceMaterial;
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogWarning("[FogOfWar] Fog Material이 설정되지 않았습니다!");
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
if (fogSystem.disableInEditor)
|
||||
@@ -98,12 +92,11 @@ namespace Northbound
|
||||
|
||||
// 렌더링 레이어 설정
|
||||
gameObject.layer = LayerMask.NameToLayer("UI"); // 또는 별도 레이어 생성
|
||||
|
||||
|
||||
// 메쉬 생성
|
||||
CreatePlaneMesh(fogSystem);
|
||||
|
||||
_isInitialized = true;
|
||||
Debug.Log($"<color=cyan>[FogOfWar] 렌더러 초기화 완료 (Client {_localClientId})</color>");
|
||||
}
|
||||
|
||||
private void Update()
|
||||
@@ -255,8 +248,6 @@ namespace Northbound
|
||||
|
||||
meshFilter.mesh = mesh;
|
||||
transform.position = fogSystem.worldOrigin;
|
||||
|
||||
Debug.Log($"<color=cyan>[FogOfWar] Plane Mesh 생성 완료: {width}x{height} at {fogSystem.worldOrigin}</color>");
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
|
||||
Reference in New Issue
Block a user