要更改列表中显示的包,请从 Package Manager 窗口的 Packages 下拉菜单中选择所需的上下文。
可从以下选项中进行选择:
上下文: | 描述: |
---|---|
Unity Registry | 显示 Unity 包注册表中的所有包,无论这些包是否已安装在项目中。这不包括从任何其他位置或任何作用域注册表安装的包。 这是默认的列表上下文。 |
My Registries | 显示该项目中安装的所有作用域注册表中所有可用的包。 注意:如果添加了作用域注册表,但在 My Registries 上下文或 My Registries 上下文根本不可用,这可能是因为您添加的包注册表服务器没有实现 /-/v1/search 或 /-/all 终端,这意味着它与 Unity 的 Package Manager 不兼容。 |
In Project | 显示项目中当前安装的所有包,包括本地的、git 和嵌入式包,以及从任何注册表安装的包。 |
My Assets | 显示使用当前登录的 Unity ID 购买的所有 Asset Store 资源包 (.unitypackage )。 |
Built-in | 仅显示 Unity 的内置包(表示 Unity 的一些核心功能)。可以使用这些包打开和关闭 Unity 模块。 提示:您可以在 Unity Scripting API 中找到有关每个内置包(模块)实现的更多信息。每个模块程序集页面均列出了内置包实现的 API。 |
选择一个新的上下文时,您的选择将出现在 Packages 下拉菜单中,并且列表显示与您的选择匹配的包。
注意:如果在搜索框中输入了任何文本,或者设置任何筛选器,则列表仅显示与上下文、搜索条件和所用筛选器均匹配的包。
在 Unity 2019.3 中添加了 My Assets 上下文NewIn20193
Unity Registry 上下文取代了 Unity 2019.4 中添加的 All packages 上下文和 My Registries 上下文 NewIn20194
在 Unity 2020.1 中添加了 Asset Store 筛选器 NewIn20201
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.