김산나
유니티 세팅 본문
유니티 그냥 대충 잘 돌아간다는 버전만 깐다고 다가 아닙니다!
그냥 토이 프로젝트면 상관없지만, 협업을 하거나
완성도를 높여 출시할 계획인 개인 프로젝트도
미리 세팅을 꼼꼼하게 해야 정신건강에 좋습니다.
지극히 개인적인 세팅이기 때문에 참고만 합니다!
나중에 더 공부해서 업데이트 할 예정 (유린이입니다)
0. 버전 세팅
- 유니티 버전 테스트 프로젝트 생성하여 본인 PC, 주요 에셋과의 호환성 체크
각 PC마다 잘 맞는 유니티 버전이 있습니다.
특히 유니티 인증서 오류 등으로 인해 가끔 프로젝트가 터지는 경우가 있습니다.
협업자와 함께 샘플 프로젝트를 생성하여 먼저 호환성 체크를 해봅니다.
거기서 각종 Git 테스트도 하고, 에셋 호환성도 사전에 체크하면 좋습니다.
- 파이프라인(URP, SRP, Built in...) 선택
작은 프로젝트의 경우 Built in으로도 충분합니다.용량이 낭비되는 일을 막기 위해서도 판단해야 하지만,본인이 사용할 에셋의 호환성을 체크해야 합니다.가끔 특정 파이프라인에서는 작동하지 않는 에셋도 있습니다.
- 빌드 사전 설치
어떤 플랫폼을 기준으로 만들지 결정하고, 그에 맞춰 빌드 파일을 미리 다운받습니다.설치 후 플랫폼 스위치!
대충 여기까지 하고 프로젝트를 만들어봅니다.
1. 초기 세팅
- 플레이모드 색상 변경
Preferences > Colors > Playmode tint 색상 변경.
플레이모드에서 작업하여 발생하는 시간 손실을 방지합니다.
- Input System 설정
Project Settings > Player > Other Settings > Active Input Handling
Both로 해두는 것을 추천합니다.
에셋 세팅 - 아래로 내려갈수록 중요도 낮음
- HierarchyDecorator
https://github.com/WooshiiDev/HierarchyDecorator
GitHub - WooshiiDev/HierarchyDecorator: Lightweight Unity Plugin transforming the Hierarchy into what it should be. Adds headers
Lightweight Unity Plugin transforming the Hierarchy into what it should be. Adds headers, styles, icons and more. - WooshiiDev/HierarchyDecorator
github.com
무료 버전의 vHierarchy라고 생각하면 좋습니다.
하이어라키의 가독성을 높여줄 수 있고,
현재 오브젝트의 컴포넌트를 하이어라키 창에서 확인할 수 있습니다.
(끄고 켜기, 일부 값 변경도 가능)
이젠 없으면 안 되는 몸이 되어버
- Better Folders
https://assetstore.unity.com/packages/tools/gui/better-folders-311261
Better Folders | GUI 도구 | Unity Asset Store
Use the Better Folders from gokcin on your next project. Find this GUI tool & more on the Unity Asset Store.
assetstore.unity.com
폴더 디자인을 커스텀할 수 있습니다.
- PieTabs
https://assetstore.unity.com/packages/tools/utilities/pietabs-320557
PieTabs | 유틸리티 도구 | Unity Asset Store
Use the PieTabs from Pine Pie on your next project. Find this utility tool & more on the Unity Asset Store.
assetstore.unity.com
Project 참의 상단에 바로가기를 등록할 수 있는 에셋.
- DarkMode for Unity Editor on Windows
https://assetstore.unity.com/packages/tools/gui/darkmode-for-unity-editor-on-windows-281842
DarkMode for Unity Editor on Windows | GUI 도구 | Unity Asset Store
Use the DarkMode for Unity Editor on Windows from 0x7c13 on your next project. Find this GUI tool & more on the Unity Asset Store.
assetstore.unity.com
다크모드를 사랑하는 저로서는 정말 좋은 에셋.
유니티를 진짜 다크로 만들어줍니다.
- NaughtyAttributes
https://assetstore.unity.com/packages/tools/utilities/naughtyattributes-129996
NaughtyAttributes | 유틸리티 도구 | Unity Asset Store
Use the NaughtyAttributes from Denis Rizov on your next project. Find this utility tool & more on the Unity Asset Store.
assetstore.unity.com
무료 버전의 쌈마이 Odin Inspector
메서드를 즉시 실행하는 버튼, 변수를 바 등을 인스펙터 창에서 보이게 하는 등의 기능이 추가됩니다.
- Background Recompiler
https://assetstore.unity.com/packages/tools/utilities/background-recompiler-234979
Background Recompiler | 유틸리티 도구 | Unity Asset Store
Use the Background Recompiler from INeatFreak on your next project. Find this utility tool & more on the Unity Asset Store.
assetstore.unity.com
VScode에서 Ctrl + S만 눌러도 즉시 백그라운드에서 컴파일이 시작되어 시간 손실을 줄여줍니다.
- Fast Script Reload
https://assetstore.unity.com/packages/tools/utilities/fast-script-reload-239351
Fast Script Reload | 유틸리티 도구 | Unity Asset Store
Use the Fast Script Reload from Chris Handzlik on your next project. Find this utility tool & more on the Unity Asset Store.
assetstore.unity.com
플레이모드에서 코드를 수정하면 이를 즉시 반영해 주는 에셋입니다.
가끔 프로젝트가 터지는 경우도 있다고 하니 중요한 프로젝트에서는 사용하지 말자...
- In-game Debug Console
https://assetstore.unity.com/packages/tools/gui/in-game-debug-console-68068
In-game Debug Console | GUI 도구 | Unity Asset Store
Use the In-game Debug Console from yasirkula on your next project. Find this GUI tool & more on the Unity Asset Store.
assetstore.unity.com
이 애셋을 사용하면 빌드 실행 중에 디버그 메시지(로그, 경고, 오류, 예외)를 확인하고(편집기에서 어설션도 확인 가능) 내장 콘솔을 사용하여 명령을 실행할 수 있습니다.
빌드 이후 단계에서 디버깅할 때 요긴하게 쓰이는 에셋.
굳이 초기 세팅에 넣지 않아도 되긴 합니다.
- Maintainer 2 ($30, Seat 라이선스)
https://assetstore.unity.com/packages/tools/utilities/maintainer-2-310179
Maintainer 2 | 유틸리티 도구 | Unity Asset Store
Use the Maintainer 2 from Code Stage on your next project. Find this utility tool & more on the Unity Asset Store.
assetstore.unity.com
프로젝트 문제 찾기 및 수정, 사용하지 않는 자산 찾기 및 제거, 에셋 참조 및 계층 참조 찾기 등의 만능 청소부(?)입니다.
다만 가격이 약간 되고, 실제로 사용한 적이 없어 리뷰를 못 남기겠음...
심지어 Seat라이선스라서 협업자가 보유하지 않으면 사용하기 어렵습니다.
2. 아트 작업의 경우
에셋 세팅
- Cinemachine
대부분의 카메라 제어를 시네머신 카메라로 하기 때문에 미리 깔아둡니다.
사실 아트 작업이 아닌, 기본 세팅에 들어가도 좋다고 생각함.
- DOTween
UI 작업 이외에도 애니메이션 작업 등에서 제법 사용하기 때문에 미리 깔아둡니다.
3. 선택사항
- DOTween Pro $15 (선택. Seat 라이선스)
돈이 있다면 (협업자들도 모두 보유하고 있고) 설치합니다.
- All In 1 Sprite Shader $39.95 (3D의 경우 All In 1 Sprite 3D Shader $44.99)
정말 쉽고 빠르게 쉐이더를 적용합니다.
Single 엔티티 라이선스로 본인만 보유해도 프로젝트에 사용할 수 있습니다.
- Feel $50 (선택. Seat 라이선스)
게임 카메라 모션, 임펙트 있는 효과를 주는 인기 에셋.
Seat라이선스이기에 팀원이 라이선스가 없다면 사용하기 어렵습니다.
ETC
- Font 세팅 (TMP 설정)
이거 은근 시간이 오래 걸리는 세팅임.
미리 TMP세팅을 해둡니다.
폰트 원작자 사이트에 가보면 최적의 세팅 있으니 내용 참고하고 그에 맞게 제작합니다.
- (아트 작업에서 쉐이더 그래프 사용 시) All In 1 Shader Nodes $44.99
- (3D 작업 시) RealToon (Pro Anime/Toon Shader)
- (Timeline 작업 시) Default Playables or Create Engine 35$(Seat)