Unity 클라우드 빌드는 Git 저장소(git-scm.com)에 호스트된 프로젝트를 지원합니다.
URL 구문
Unity 클라우드 빌드가 사용자의 저장소에 연결되기 위해서는, 사용자의 Git 서버 URL을 제공해야 합니다. URL은 다음과 같은 포맷을 가질 수 있습니다(다음은 GitHub나 bitbucket을 사용한 예제입니다).
https://github.com/youraccount/yourrepo
git://github.com/youraccount/yourrepo.git
git@bitbucket.org:youraccount/yourrepo.git
이들 중 어떤 형식을 사용하든 관계는 없습니다. Unity 클라우드 빌드가 자동으로 URL을 필요한 포맷으로 변환하기 때문입니다.
Branches
Unity 클라우드 빌드에서 프로젝트를 설정하려면, 어떤 브랜치에서 빌드할지 선택해야 합니다. 대부분의 Git 저장소의 기본 브랜치는 “마스터”이지만, 각각의 빌드 타겟에 대하여 서로 다른 브랜치를 설정할 수도 있습니다.
프로젝트 하위 폴더
또한, Unity 클라우드 빌드에 사용자의 프로젝트에서 어떤 폴더(또는 “디렉토리”)에 Unity 프로젝트가 있는지 정보를 입력해야 합니다. 자세히 말해서, Assets 과 ProjectSettings 의 위치를 제공해야 합니다. 사용자의 프로젝트 파일 배치에 따라, 이는 저장소의 루트 폴더가 될 수도 있습니다. 만약 그렇지 않은 경우, Unity 클라우드 빌드에 폴더의 경로를 제공해야 합니다. 그 경로는 NewGameProject/Src/UnityProject/ 형식을 가집니다.
Git 서브모듈
사용자의 프로젝트가 프라이빗 Git 서브모듈을 사용하는 경우, .gitmodules 파일 내에 있는 URL이 “https://”나 “git://” 구문 대신, “git@” 구문을 사용했는지 확인합니다.
예를 들면, 다음과 같습니다.
git@github.com:youraccount/yourrepo.git(GitHub의 경우)
git@bitbucket.org:youraccount/yourrepo.git(Bitbucket의 경우)
일반적인 Git 호스트
Git 프로젝트의 Unity 클라우드 빌드를 호스트할 수 있는 일반적인 두 장소는 다음과 같습니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.