Package Manager 设置(菜单:__Edit > Project Settings__,然后 Package Manager 类别)用于管理范围注册表并修改当前项目的高级设置。
(A) Under the Advanced Settings section, toggle whether pre-release packages are visible in the Package Manager window.
(B) Add, modify, and remove scoped registries for your project under the Scoped Registries group, which contains the following areas:
(1) 当前为此项目定义的范围注册表的列表
(2) 所选范围注册表的详细信息
Use the Advanced Settings group to toggle the Enable Pre-release Packages setting for your current project.
Enable the Enable Pre-release Packages setting to display pre-release packages in the Package Manager window. Pre-release packages appear with the tag in the list view and the
tag in the details view, as a reminder of which packages will be released with the LTS version of the Editor.
Warning:
By default this setting is disabled because pre-release packages are still being verified as stable enough for production, but are not fully released yet. For more information about the lifecycle of packages, see Package states and lifecycle.
Scoped Registries 组左侧显示已添加到当前项目的范围注册表的列表,右侧是所选注册表的详细信息。
有关范围注册表的详细信息,包括如何通过 Unity Package Manager 使用和配置,请参阅有关范围注册表的文档。
注意:如果您添加了范围注册表,但在 My Registries 上下文或 My Registries 上下文根本不可用,这可能是因为您添加的包注册表服务器没有实现 /-/v1/search
或 /-/all
终端,这意味着它与 Unity 的 Package Manager 不兼容。
向项目添加范围注册表:
要修改现有的范围注册表:
要删除现有的范围注册表:
PackageManager
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.