Go to file
깃 관리자 190c96918b refactor(BT12-Dev): IsFlying 속성 SOT EnemyController 단일화 (PD 지적 2026-05-15)
PD 지적: "enemy 랜덤풀에 플라잉 몬스터를 설정하는게 아니라
개별 몬스터 특성에 플라잉 속성을 부여해야하지 않을까?"

직전 commit 60c2e9b 의 2 위치 분산 (MonsterRandomizer.flyingFlags +
EnemyController hardcoded "M002") 정정. SOT 단일화.

설계:
- EnemyController.flyingControllerNames string[] (Inspector 기본
  { "M002" }) — 개별 몬스터 특성 IsFlying 속성 단일 SOT
- EnemyController.RecheckFlyingFromAnimator() public method 신설
  · Animator.runtimeAnimatorController.name 영역 flyingControllerNames
    list 매칭 → IsFlying=true 자동
  · control.gravityModifier=0·velocity=0·ignoreCollisions=true 일괄
- EnemyController.Awake + Start 영역 RecheckFlyingFromAnimator 호출
- MonsterRandomizer.Awake 영역 controller random 후 위임 호출만

폐기:
- MonsterRandomizer.flyingFlags bool[] (분산 SOT 폐기)
- MonsterRandomizer name fallback "M002" hardcoded (분산 폐기)
- EnemyController.Awake 직접 hardcoded "M002" check (분산 폐기)

확장: 후속 공중 몬스터 추가 (예: 까마귀 M005) 시 PD Inspector
flyingControllerNames 배열에 controller name 추가만 하면 자동 적용.

검증 (Play 모드):
- 총 Enemy 16기 · M002 박쥐 3기 모두 IsFlying=True
- M005 등 비박쥐 IsFlying=False · gravMod=1 (지상 정상)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 00:35:47 +09:00
Assets refactor(BT12-Dev): IsFlying 속성 SOT EnemyController 단일화 (PD 지적 2026-05-15) 2026-05-15 00:35:47 +09:00
Packages auto: 2026-05-12 22:57 · scene: Lobby · 6 files 2026-05-12 22:57:08 +09:00
ProjectSettings fix(BT12-Dev): ParticleGroupView InputSystem 전환·activeInputHandler revert (PD 지시 2026-05-13) 2026-05-13 22:11:56 +09:00
.gitignore initial: Unity 6000.3.13f1 LTS 2D PlatformerMicrogame 템플릿 + GitAutoSync Editor 스크립트 2026-04-23 00:58:44 +09:00
EerieVillage.slnx BT7-Plan Phase 1: VS 순수형 자동 발동 + 하트 분할 시스템 2026-04-24 16:22:13 +09:00