패키지 관리자는 로컬에 저장된 타르볼 파일에서 패키지를 로드할 수 있습니다. 이 방법은 개발자가 패키지 퍼블리싱 워크플로를 여러 파트로 나누고 사용자가 그러한 파트 중 하나의 중간 산출물을 사용할 수 있는 고급 시나리오를 위한 것입니다.
예를 들어 커스텀 패키지 저장소에서 CI(지속적 통합)를 설정한 경우 패키지 폴더에서 Gzip 타르볼 파일을 생성할 수 있습니다. npm pack CLI 또는 Unity 패키지 관리자의 Pack API를 사용하여 Gzip
타르볼 파일을 생성할 수 있습니다. Gzip
타르볼 파일을 생성하는 경우 커스텀 레지스트리에 퍼블리시하기 전에 테스트해야 합니다.
로컬 타르볼 파일에서 패키지를 설치하려면 다음을 따르십시오.
Package Manager 창을 아직 열지 않은 경우 이를 엽니다.
툴바에서 install 버튼을 클릭합니다. 패키지 설치 옵션이 표시됩니다.
설치 메뉴에서 Install package from tarball을 선택하여 파일 브라우저를 엽니다.
타르볼을 저장한 폴더로 이동합니다.
참고: 패키지 관리자의 파일 선택 다이얼로그는 확장자가 .tgz
인 경우에만 타르볼을 인식합니다.
파일 선택 다이얼로그에서 타르볼 파일을 더블 클릭합니다.
파일 선택 다이얼로그가 닫히고 패키지가 레이블과 함께 목록 패널에 표시됩니다.
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.