EerieVillage/Assets/Scripts/Gameplay
깃 관리자 69b1b9197b BT5-Dev 최적화 B안: Debug.Log 가드 + Legacy 4 파일 정리
PD 직접 지시 2026-05-08 — 프로젝트 반응 속도 최적화. 옵션 B 채택 (#1 Debug.Log + #7 Legacy).

#1 Debug.Log 가드 (#if UNITY_EDITOR && ENEMY_DIAG_VERBOSE) — 7건:
- EnemyController.cs Start[Enemy@N] / MeasureSafeWalk[Enemy@N dir] / Update[BT17·BT20·EnemyDiag]
- GameOptimizer.cs SetupJumpThroughPlatforms[GameOptimizer]
- PlayerEnemyCollision.cs Resolve[PEC]

근본: 16 몬스터 × 60fps frame당 16~32 string boxing + I/O = 반응 속도 저하 주 원인 추정 (Profiler 미실측·C44 추정). Editor 영역 차기 진단 시 ENEMY_DIAG_VERBOSE Scripting Define 추가 시점만 활성.

#7 Legacy 4 파일 정리:
- PlatformDropThrough.cs (자동 Destroy 영역·Layer 8 옛 영역)
- PatrolPath.cs / PatrolPath.Mover.cs (자동 patrol 도입 후 미참조)
- PatrolPathEditor.cs (CustomEditor PatrolPath 의존)
- EnemyController.path / mover field 제거
- PlayerController.Awake PlatformDropThrough Destroy 영역 제거

검증:
- 미참조 grep 0건 (PlatformDropThrough·PatrolPath 전수 제거 정합)
- Scene yaml PatrolPath GameObject 11건 잔존 (Missing Component 상태·게임 영향 X·PD 시각 후속 영역)

산출물: 12 파일 (D 8 + M 4)
2026-05-08 17:24:51 +09:00
..
EnablePlayerInput.cs initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
EnablePlayerInput.cs.meta initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
EnemyDeath.cs BT5-Dev #105: 제자리 사망·안전 margin 2.0m (PD 2건) 2026-05-08 15:27:12 +09:00
EnemyDeath.cs.meta initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
HealthIsZero.cs initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
HealthIsZero.cs.meta initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerAttack.cs auto: 2026-05-07 13:22 · scene: Lobby · 361 files 2026-05-07 13:22:51 +09:00
PlayerAttack.cs.meta auto: 2026-04-23 23:47 · scene: SampleScene · 20 files 2026-04-23 23:47:51 +09:00
PlayerAttackTicker.cs BT7-Plan Phase 1: VS 순수형 자동 발동 + 하트 분할 시스템 2026-04-24 16:22:13 +09:00
PlayerAttackTicker.cs.meta BT7-Plan Phase 1: VS 순수형 자동 발동 + 하트 분할 시스템 2026-04-24 16:22:13 +09:00
PlayerDeath.cs initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerDeath.cs.meta initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerEnemyCollision.cs BT5-Dev 최적화 B안: Debug.Log 가드 + Legacy 4 파일 정리 2026-05-08 17:24:51 +09:00
PlayerEnemyCollision.cs.meta initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerEnteredDeathZone.cs initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerEnteredDeathZone.cs.meta initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerEnteredVictoryZone.cs initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerEnteredVictoryZone.cs.meta initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerJumped.cs initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerJumped.cs.meta initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerLanded.cs initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerLanded.cs.meta initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerSpawn.cs initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerSpawn.cs.meta initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerStopJump.cs initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerStopJump.cs.meta initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerTokenCollision.cs initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
PlayerTokenCollision.cs.meta initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00