이 섹션에서는 패키지 관리자에 대해 다음을 설정하는 방법을 보여줍니다.
또한 설정 파일에서 패키지 관리자 설정 파일의 위치를 찾을 수 있습니다.
패키지 관리자는 두 가지 설정 파일, 즉 전역 설정 파일과 사용자 설정 파일을 지원합니다. 이 두 파일은 모두 TOML 포맷을 사용하며, 서로 다른 위치에 나타납니다.
패키지 관리자는 upmconfig.toml
이라는 전역 설정 파일을 사용합니다.이 파일은 Unity Hub나 에디터를 설치할 때 생성되지 않지만, 설정을 커스터마이즈해야 하는 경우 다음 위치에 생성할 수 있습니다.
환경: | 위치: |
---|---|
Windows |
%ALLUSERSPROFILE%\Unity\config\upmconfig.toml (예: C:\ProgramData\Unity\config\upmconfig.toml ) |
macOS 및 Linux | /etc/upmconfig.toml |
You can define a custom location that overrides the default location for your configuration file. To do this, create a UPM_GLOBAL_CONFIG_FILE
environment variable and set its value to the absolute path of your configuration file, including the file name.
패키지 관리자는 .upmconfig.toml
이라는 사용자 설정 파일을 사용합니다.이 파일은 Unity Hub나 에디터를 설치할 때 생성되지 않지만, 설정을 커스터마이즈해야 하는 경우 다음 위치에 생성할 수 있습니다.
환경: | 위치: |
---|---|
Windows(사용자 계정) |
%USERPROFILE%\.upmconfig.toml (예: C:\Users\myusername\.upmconfig.toml ) |
Windows(시스템 사용자 계정) |
%ALLUSERSPROFILE%\Unity\config\ServiceAccounts\.upmconfig.toml (예: C:\Users\Public\Unity\config\ServiceAccounts\.upmconfig.toml ) |
macOS 및 Linux |
~/.upmconfig.toml (예: /Users/myusername/.upmconfig.toml ) |
You can define a custom location that overrides the default location for your configuration file. To do this, create a UPM_USER_CONFIG_FILE
environment variable and set its value to the absolute path of your configuration file, including the file name.