注意:此页面上的信息仅适用于从 Unity Registry(一种作用域注册表, or from a local source安装的包。要更新从 Git URL 安装的包,可以使用新版本将其重新安装为 Git 依赖项或从 Unity Registry 重新安装。有关如何使用 Git 依赖项指定修订版的更多信息,请参阅以特定修订版本为目标。
您可以在 In Project、Unity Registry 或 My Registries 中更新包:
打开 Package Manager 窗口,然后从 Packages 下拉菜单中选择 In Project。
任何具有可用更新的包旁边都会出现一个箭头指示符。
Select the installed package you want to update from the list of packages. The package information appears in the details view.
The lock icon () indicates that this package and version is locked to an installed feature set. To unlock the package and select another version, click the Unlock button.
Note: The package is only temporarily unlocked. If you change to a different list context, or close either the Package Manager or the Editor, the package reverts to being locked again. However, if you switch versions when the package is unlocked (for example, with the Add package by name method), the package stays unlocked.
在包列表中,单击包名称左侧的展开箭头图标。
Note: If you see the See other versions link after expanding the package, you can click it to see the list of all available versions for that package.
Select any version of the current package to see the details specific to that version in the details view.
Click the Update to button.
When the progress bar finishes, any new functionality is immediately available.
注意:如果您切换到包的旧版本,则可能必须对包内容运行 API Updater。
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.