fix(BT12-Dev): 몬스터 판정 영역 시각화 제거 (PD 지시 2026-05-15)
PD 발화: "몬스터 판정 영역을 제거해줘." EnemyController.OnDrawGizmos 폐기: - VisualBounds wire cube (붉은색) 제거 - _collider.bounds wire cube (노란색) 제거 - Application.isPlaying 시점 Editor Scene 보조선만 출력하던 영역 정합 게임 동작 (Update Player ↔ Enemy 충돌 판정·Decrement) 영역 영향 X. Editor Scene 영역 wire cube 시각만 사라짐. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2b463245db
commit
392ef3a11f
|
|
@ -456,20 +456,7 @@ namespace Platformer.Mechanics
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnDrawGizmos()
|
// PD 지시 2026-05-15 — 몬스터 판정 영역 시각화 제거 (OnDrawGizmos 폐기·Editor Scene 보조선 무관 정합)
|
||||||
{
|
|
||||||
// BT5-Dev #15 진단 — Scene 영역 시각화 (Editor에서만 표시)
|
|
||||||
if (Application.isPlaying && spriteRenderer != null)
|
|
||||||
{
|
|
||||||
Gizmos.color = Color.red;
|
|
||||||
Gizmos.DrawWireCube(VisualBounds.center, VisualBounds.size);
|
|
||||||
}
|
|
||||||
if (Application.isPlaying && _collider != null)
|
|
||||||
{
|
|
||||||
Gizmos.color = Color.yellow;
|
|
||||||
Gizmos.DrawWireCube(_collider.bounds.center, _collider.bounds.size);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue