https://www.unrealengine.com/ko/ue4-on-github?sessionInvalidated=true
EpicGames 계정을 Github와 연동해야 함.
Windows용 Git 설치
https://git-scm.com/download/win
Install & configure git
$ git config -–global user.name “name”
$ git config –-global user.email name@test.com
$ git config –-global core.editor vim
$ git config –-global merge.tool vimdiff
$ git config –-global core.pager “less -r”
https://github.com/EpicGames/UnrealEngine
git clone git@github.com:EpicGames/UnrealEngine.git --dept 1
https://my.visualstudio.com/Downloads?q=visual%20studio%202022
- 위의 옵션으로 Visual Studio 2022 설치
설치를 진행한다.
-
Setup.bat 실행
-
GenerateProjectFiles.bat 실행
-
UE4.sln 더블 클릭하여 Visual Studio 2022 실행
- UE4를 시작 프로젝트로 지정
- 빌드 항목을 지정
- 로컬 디버거 실행
-
솔루션 탐색기에서 위의 항목을 찾아 우클릭 후, 빌드 진행
Engine\Binaries\Win64 디렉터리에 UE4Editor.exe 생겼으면 성공
git clone git@github.com:RandomWeaponGame/RandomWeaponGame.git
https://code.visualstudio.com/
https://aka.ms/vs/17/release/vs_buildtools.exe
- 위의 옵션으로 Visual Studio 2022 Build Tools 설치 ( 설치 시, 경로를 Program File이 아닌 띄어쓰기가 없이 영어로만 되어있는 경로로 바꿀 것.)
- UnrealEngine\Engine\Binaries\Win64\UE4Editor.exe 실행
- 게임 클릭
- 기본 프로젝트 생성
- 아무렇게나 생성 ( 사용하지 않을 프로젝트임 )
- 편집 - 에디터 개인설정
- 소스코드 - 소스 코드 에디터 Visual Studio Code로 변경
- Visual Studio Code 실행
- 위와 같이 Plugin 설치
-
Project Clone 받은 경로로 이동
-
RandomWeaponGame.uproject 우클릭 후, Switch Unreal Engine Version 클릭
-
본인이 Build한 Unreal Engine 경로로 지정.
-
RandomWeaponGame.uproject 우클릭 후, Generate Visual Studio project files 클릭
-
Visual Studio Code 켠 후, Project Import.
- 실행 및 디버그 - RandomWeaponEditor (Development) 설정 후, 빌드