with one click
scene-scaffold
씬 스캐폴드 — scene, Main.unity, 카메라, 씬 설정, 조명, UI Canvas
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
씬 스캐폴드 — scene, Main.unity, 카메라, 씬 설정, 조명, UI Canvas
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Unity Play 시작 씬, scene-authored UI source-of-truth, authored-first binder, RobotControl/Onboarding 라우팅 착시를 함께 디버깅하는 운영 스킬
Use when adding, extending, or debugging Waypoint Teaching & Playback: saving robot poses as waypoints, sequencing them, playing/looping sequences, exporting/importing JSON, coroutine-based runner engine, or teaching UI integration.
MonoBehaviour에서 UI 생성 코드를 ViewBuilder 정적 클래스 + Refs struct로 분리
Robot Library / Sandbox robot showroom 디버깅과 튜닝 — showroomoutput, comparestrip, preview pod, Game view vs Scene view 스케일 차이, hero/page selection, runtime root 중복
Use when working on FAIRINO FR5 6-axis robot integration in this repo: collecting official FR5 docs, mapping Unity UI inputs to the FAIRINO C# SDK, planning real-robot control and safety, documenting FR5 hardware/DH/protocol details, or building adapters around MoveJ/MoveL/ServoJ/ServoCart and status feedback.
Main 탭형 학습 쉘의 로봇별 JSON 콘텐츠를 추가/수정/검증하는 스킬. `Assets/Runtime/Resources/LearningTabs/*.json` 문안 업데이트, 새 로봇용 탭 문서 추가, MainLearningTabsLoader fallback 조정, Main 탭 콘텐츠 schema 변경, JSON 파싱/폴백/Unity MCP 검증이 필요할 때 사용한다.
| name | scene-scaffold |
| description | 씬 스캐폴드 — scene, Main.unity, 카메라, 씬 설정, 조명, UI Canvas |
Main.unity 씬 생성, 카메라/조명/UI 초기 설정, 씬 계층 구조 설정 요청 시.
Guided Lesson, Robot Library, Sandbox, Instructor Mode)docs/ref/code-patterns.md — C# 코딩 패턴 (§8 Unity 측 규칙 포함)Assets/Scenes/CLAUDE.md — 씬 명명 규칙Assets/Scripts/Visualization/CLAUDE.md — 좌표 변환 규칙docs/ref/coordinate-mapping.md — 로보틱스↔Unity 좌표 매핑docs/ref/architecture-diagrams.md — 데이터 흐름docs/ref/tutor-step-plan.md — Step Tutor UI 요구사항docs/ref/product/ux/guided-lesson.mddocs/ref/product/ux/robot-library.mddocs/ref/product/ux/sandbox.mddocs/ref/product/ux/instructor-mode.mdMain.unity 씬에 다음 계층 구조 설정:
Main.unity
├── --- MANAGEMENT ---
│ ├── AppController (App/AppController.cs)
│ └── EventSystem (Unity UI EventSystem)
│
├── --- CAMERA & LIGHT ---
│ ├── MainCamera (카메라 + OrbitController)
│ │ └── Position: (0, 2, -5) / Rotation: (20, 0, 0)
│ ├── DirectionalLight (방향광)
│ │ └── Rotation: (50, -30, 0) / Intensity: 1.0
│ └── AmbientLight (환경광 설정)
│
├── --- ROBOT ---
│ ├── RobotRoot (빈 오브젝트, 로봇 계층 부모)
│ │ ├── Base (바닥 고정 베이스)
│ │ ├── Joint_0 (관절 0)
│ │ │ └── Link_0 (링크 0 메시)
│ │ │ └── Frame_0 (FrameGizmo)
│ │ ├── Joint_1 (관절 1)
│ │ │ └── Link_1 (링크 1 메시)
│ │ │ └── Frame_1 (FrameGizmo)
│ │ └── EndEffector (엔드이펙터 프레임)
│ │ └── Frame_EE (FrameGizmo, 강조 표시)
│ └── WorldFrame (월드 좌표 프레임 표시)
│ └── Frame_World (FrameGizmo, 항상 원점)
│
├── --- GROUND ---
│ ├── GroundPlane (바닥면)
│ │ └── Scale: (10, 1, 10) / Material: Grid
│ └── GridOverlay (격자 표시, 선택적)
│
└── --- UI ---
└── Canvas (Screen Space - Overlay)
├── TopBar (앱 제목, 템플릿 선택 드롭다운)
├── LeftPanel (DH 테이블 + 파라미터 편집)
│ ├── DHTableEditor (UI/DHTableEditor.cs)
│ └── ParameterInfo (선택된 파라미터 설명)
├── RightPanel (행렬 표시 영역)
│ ├── MatrixDisplay (현재 스텝의 행렬)
│ └── StepTutorPanel (UI/StepTutorPanel.cs)
├── BottomBar (관절 슬라이더)
│ └── JointSliderPanel (UI/JointSliderPanel.cs)
└── StepNavigator (이전/다음 버튼)
docs/ref/coordinate-mapping.md 규칙 적용
Vector3 ToUnity(Vec3D v) => new Vector3((float)v.X, (float)v.Z, (float)v.Y);
Guided Lesson: Top/Left/Center/Right/Bottom 5영역 계약 확인Robot Library: grid + detail drawer + mode routing CTA 배치 확인Sandbox: joint input rail + history + replay + constraint view 영역 확인Instructor Mode: lesson jump + focus override + teaching note 영역 확인[scene-scaffold 완료]
- 씬: Assets/Scenes/Main.unity
- 계층 구조:
- Management: AppController, EventSystem
- Camera: MainCamera (0, 2, -5)
- Robot: RobotRoot + {n}개 관절 + EndEffector
- Ground: GroundPlane + GridOverlay
- UI: Canvas (TopBar, LeftPanel, RightPanel, BottomBar, StepNavigator)
- Build Settings: 인덱스 0 등록
- Unity 컴파일: 에러 0