This section shows you how to configure the following for the Package Manager:
また、Package Manager の設定ファイルの場所は、コンフィギュレーションファイル で確認できます。
Package Manager は 2 つのコンフィギュレーションファイルをサポートしています。グローバルコンフィギュレーションファイルとユーザーコンフィギュレーションファイルです。これらのファイルはどちらも、TOML 形式を使用しており、異なる場所に表示されます。
Package Manager uses a global configuration file named upmconfig.toml. This file isn’t created when you install the Unity Hub or Editor, but you can create it in the following location if you need to customize your configuration:
| 環境 | 場所 |
|---|---|
| Windows |
%ALLUSERSPROFILE%\Unity\config\upmconfig.toml (for example, C:\ProgramData\Unity\config\upmconfig.toml) |
| macOS と Linux | /etc/upmconfig.toml |
Package Manager uses a user configuration file named .upmconfig.toml. This file isn’t created when you install the Unity Hub or Editor, but you can create it in the following location if you need to customize your configuration:
| 環境 | 場所 |
|---|---|
| Windows (ユーザーアカウント) |
%USERPROFILE%\.upmconfig.toml (例えば、C:\Users\myusername\.upmconfig.toml) |
| Windows (システムユーザーアカウント) |
%ALLUSERSPROFILE%Unity\\Config\ServiceAccounts\.upmconfig.toml (例えば、C:ussers\Public\Unityconfig\ServiceAccounts\.upmconfig.toml) |
| macOS と Linux |
~/.upmconfig.toml (例えば、/Users/myusername/.upmconfig.toml) |