Streamingle_URP/Assets/Scripts/Editor/StreamingleTools/StreamingleControllerSetupTool.uxml
user 41270a34f5 Refactor: 전체 에디터 UXML 전환 + 대시보드/런타임 UI + 한글화 + NanumGothic 폰트
- 모든 컨트롤러 에디터를 IMGUI → UI Toolkit(UXML/USS)으로 전환
  (Camera, Item, Event, Avatar, System, StreamDeck, OptiTrack, Facial)
- StreamingleCommon.uss 공통 테마 + 개별 에디터 USS 스타일시트
- SystemController 서브매니저 분리 (OptiTrack, Facial, Recording, Screenshot 등)
- 런타임 컨트롤 패널 (ESC 토글, 좌측 오버레이, 150% 스케일)
- 웹 대시보드 서버 (StreamingleDashboardServer) + 리타게팅 통합
- 설정 도구(StreamingleControllerSetupTool) UXML 재작성 + 원클릭 설정
- SimplePoseTransfer UXML 에디터 추가
- 전체 UXML 한글화 + NanumGothic 폰트 적용
- Streamingle.Debug → Streamingle.Debugging 네임스페이스 변경 (Debug.Log 충돌 해결)
- 불필요 코드 제거 (rawkey.cs, RetargetingHTTPServer, OptitrackSkeletonAnimator 등)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 02:51:43 +09:00

60 lines
3.0 KiB
Plaintext

<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
<Style src="StreamingleControllerSetupTool.uss"/>
<ui:VisualElement class="root">
<!-- One-Click Setup -->
<ui:Button name="btn-one-click" text="원클릭 설정" class="btn-one-click"
tooltip="컨트롤러 탐색 → 미존재 항목 생성 → 자동 연결을 한번에 수행합니다"/>
<!-- Status Summary -->
<ui:VisualElement class="section">
<ui:Label text="씬 상태" class="section-title"/>
<ui:VisualElement name="status-list"/>
</ui:VisualElement>
<!-- Controllers to Create -->
<ui:VisualElement class="section">
<ui:Label text="컨트롤러 생성" class="section-title"/>
<ui:VisualElement name="create-toggles"/>
</ui:VisualElement>
<!-- Parent Object Settings -->
<ui:VisualElement class="section">
<ui:Label text="부모 오브젝트" class="section-title"/>
<ui:Toggle name="toggle-create-parent" label="부모 하위로 정리" value="true"
tooltip="생성된 컨트롤러들을 부모 오브젝트 하위에 정리합니다"/>
<ui:TextField name="field-parent-name" label="이름" value="Streamingle 컨트롤러들" class="parent-name-field"/>
</ui:VisualElement>
<!-- Advanced Options -->
<ui:VisualElement class="section">
<ui:Label text="고급" class="section-title"/>
<ui:Toggle name="toggle-auto-connect" label="StreamDeck 매니저에 자동 연결" value="true"
tooltip="생성/탐색된 컨트롤러들을 StreamDeck 매니저에 자동 연결"/>
<ui:Toggle name="toggle-move-existing" label="기존 컨트롤러도 부모로 이동" value="true"
tooltip="기존에 존재하는 컨트롤러들도 부모 하위로 이동"/>
</ui:VisualElement>
<!-- Actions -->
<ui:VisualElement class="actions-section">
<ui:VisualElement class="actions-primary">
<ui:Button name="btn-create" text="선택 항목 생성" class="btn-create"
tooltip="체크된 컨트롤러만 생성합니다"/>
<ui:Button name="btn-connect" text="전체 연결" class="btn-connect"
tooltip="발견된 컨트롤러들을 StreamDeck 매니저에 연결합니다"/>
</ui:VisualElement>
<ui:VisualElement class="actions-secondary">
<ui:Button name="btn-refresh" text="새로고침" tooltip="씬에서 컨트롤러를 다시 탐색합니다"/>
<ui:Button name="btn-move" text="부모로 이동" tooltip="기존 컨트롤러들을 부모 오브젝트 하위로 이동"/>
</ui:VisualElement>
</ui:VisualElement>
<!-- Result Log -->
<ui:ScrollView name="result-log" class="result-log">
<ui:Label name="result-text" text="준비됨."/>
</ui:ScrollView>
</ui:VisualElement>
</ui:UXML>