注意:使用包管理器安装UPM 包由Unity 包管理器管理的包。请参考包。
查看术语表时,包管理器会评估其他包及其依赖项,以确定是否存在与您选择的版本冲突的版本。如果检测到任何冲突或限制,它将安装解决这些问题的版本。有关更多信息,请参考依赖项和解析。
使用相同的流程从 Unity 注册表或任何作用域注册表(在您的项目中定义)安装包。
打开包管理器窗口,并从导航面板中选择Unity 注册表。如果您设置了作用域注册表,并且想要从作用域注册表安装包,请选择我的注册表。
注意:如果您尚未为该项目定义任何作用域注册表,则我的注册表不会出现在导航面板中。
注意:如果包管理器未在包列表中列出您要安装的包,它可能是不可发现的包,例如实验性或预发布包。包管理器不会显示实验性包,除非它们已安装,但当您启用显示预发布包版本项目设置时,预发布包会出现在包管理器中。
可选:如果有多个版本可用,请选择要安装的版本。有关可用版本的更多信息,请参考查找特定版本。
单击安装。
进度条完成后,新包即可使用。
注意:您可以使用多选功能,通过一次点击安装多个包。有关更多信息,请参考对多个包或功能集执行操作。
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.