932 B
932 B
🔧 개발 환경 설정 (Windows)
필수 요구사항
- Python 3.7+ (다운로드)
- Unity 2022.3+
- Git for Windows
Git Hooks 설치
REM PowerShell 실행 정책 설정 (최초 1회)
powershell -Command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser"
REM Hook 설치
setup-hooks.bat
데이터 작업 흐름
스키마 변경 시
- 스키마 변경 Notion에서 스키마 페이지 수정
- 프로그램 실행
sync-from-notion.ps1우클릭 -> PowerShell에서 실행
데이터 변경 시
- Excel 수정:
GameData\Towers.xlsx편집 - 커밋: git 커밋
- ✅ 자동 검증
- ✅ ScriptableObject 자동 생성
- Push: git 푸시
문제 해결
Hook이 실행되지 않는 경우:
setup-hooks.bat
Unity 경로 오류:
git-hooks\post-commit.ps1에서 Unity 경로 수정