# v0.1.223 — Simulation P2 Pause/Resume 토글 (Time.timeScale)

- 버전: v0.1.223
- 분류: 48th stable seal (v0.1.366) 일괄 봉인 사이클
- 다운로드: [factory00-windows-x64-v0.1.223.zip](../../downloads/archive/factory00-windows-x64-v0.1.223.zip) (archive 보존)
- 캡처: [qa-screenshots/v0.1.223/](../../qa-screenshots/v0.1.223/)

---

## Unity 신규 기능
- **Pause 버튼** — Ribbon Simulation 탭. Time.timeScale 0/1 토글- 일시정지: Time.timeScale = 0 -> Actuator UpdateActuator + Sensor polling 모두 정지 (deltaTime 기반)- 재개: Time.timeScale = 1 -> 정상 진행- 버튼 텍스트 동적 갱신: "Pause" ↔ "Resume"- 토스트: 시뮬레이션 일시정지 (timeScale=0) / 시뮬레이션 재개 (timeScale=1)
## 변경 파일
- Assets/UI/Components/Ribbon.uxml — sim-pause-toggle 버튼 추가- Assets/Scripts/Game/Factory00Bootstrap.cs (~12 라인) — 핸들러
## Ribbon 8 탭 명령 누계 — 41 명령
- Simulation = 3 (Signal Simulator · Interface Emulation · **Pause**)
## 알고리즘 선택 사유
- **Time.timeScale 0/1** = 모든 deltaTime 기반 로직 한 번에 정지 (Unity 표준 패턴)- Stop (Home 복귀) = 별도 사이클 — actuator 명령 매트릭스 (Servo CommandStop / Pneumatic ResetToA / Rotary Home) 필요- 사용자 입력 (마우스/키보드) 은 timeScale 영향 안 받음 -> 일시정지 중에도 시점 변경 / 부품 선택 가능
## 다음 단계
- v0.1.224+ Simulation P3 Stop (모든 actuator Home 복귀)- v0.1.225+ Edit 탭 P2 (Undo/Redo 히스토리 패널)- task #39 InspectorVM / MotorTableVM 분리 (Bootstrap -500~700 라인 감축)


---

## 봉인 참조

본 사이클은 **48th stable seal (v0.1.366, 2026-05-24)** 일괄 봉인에 포함됨.

- journal: [2026-05-24-v0.1.298-366-48th-stable-seal.md](../../journal/2026-05-24-v0.1.298-366-48th-stable-seal.md)
- alias zip: [factory00-windows-x64-v0.1.366-stable.zip](../../downloads/factory00-windows-x64-v0.1.366-stable.zip) (170 MB)
