Use the Unity Package Manager (in Unity’s top menu: Window > Package Manager) to view which packages are available for installation or already installed in your project. In addition, you can use this window to see which versions are available, and install, remove, disable, or update packages for each project.
Package Manager 窗口显示以下内容：
(A) The experimental package indicator, which warns you if your project contains experimental packages.
(B) The add button, which you can click to install a package directly into your project by entering a git URL, a local path, or a package name.
(C) The Packages drop-down menu, which you can use to change what appears in the list (context).
(D) The Sort drop-down menu, which lets you sort the list of packages by name or date.
For Asset Store packages, two additional controls give you some additional filtering options:
(E) Advanced settings , which you can use to access the project settings for the Package Manager or reset your project’s packages to default.
(F) The search box, which you can use to look for packages by name.
(G) The packages list view, which displays all packages that match the filter and search parameters you specify.
(H) The package-specific detail view, which displays information specific to the package selected in the list.
(I) The status bar, which displays information when Package Manager loads packages. This includes errors and warning messages, the number of Asset Store packages available, and a link to load more Asset Store packages.
(J) The reload drop-down menu, which lets you force Package Manager to reload or resolve the packages in your project.
(K) Buttons to perform any of the following actions:
The advanced settings drop-down menu allows you to perform these actions:
|Advanced Project Settings||Select this item to open the Package Manager project settings, where you can:
- Add, edit and remove scoped registries in your project.
- Show pre-release packages when browsing the Unity Registry.
- See which packages are installed as dependencies of another installed package (indirect dependencies).
|Reset Packages to defaults||Select this item to return to Package Manager default settings.
Warning: This removes all customization from your project manifest file. Only use this as a last resort when you can’t figure out what is wrong with your project manifest file.
Package Manager 在 Package Manager 窗口左下角的状态栏中显示消息。
首次在新项目中打开 Package Manager 窗口时，将短暂显示 Loading packages 消息：
This message also appears when you select Refresh list from the reload drop-down menu.
When you are using the My Assets context, the load bar appears above the date. It displays the number of Asset Store packages and a Load link:
大多数情况下，状态栏会显示 Package Manager 窗口上次更新其信息的日期和时间：
但是，如果 Package Manager 检测到问题（比如缺少网络连接），则 Package Manager 将在状态栏中显示错误：
If your network connection is working, but you are not signed into your Unity account, the Package Manager doesn’t display any Asset Store packages. When you try to use the My Assets context, the Package Manager displays an error in the status bar:
In the list view, click the Sign in button to sign into your Unity account through the Unity Hub.
For information on how to resolve these errors and more, see Error messages.