在 Project 视图中单击资源包清单文件时,将打开 Package Manifest 窗口:
(A) Click the Open button to load this package manifest in your default code editor, such as Visual Studio. Click the View in Package Manager button to open the Package Manager window and load this package in the details view.
(B) Information 部分包含有关这个特定资源包版本的详细信息。
(C) Use the Brief Description text box to specify the text that you want to appear in the details view of the Package Manager window. For more information, see the documentation for the description attribute.
(D) 使用 Dependencies 部分来管理此资源包所依赖的资源包列表。
(E) 单击 Revert 按钮将会放弃对清单所做的所有更改。单击 Apply 按钮将会保存对清单所做的所有更改。
属性 | 描述 |
---|---|
名称 | 此资源包在 Unity 的正式名称。有关更多信息,请参阅 name 属性的文档。 |
Display name | 在 Project 视图和 Package Manager 中显示的面向用户的名称。有关更多信息,请参阅 displayName 属性的文档。 |
Version | 资源包版本号。有关更多信息,请参阅 version 属性的文档。 |
Minimal Unity version | 启用此选项可以指定这个资源包兼容的最低 Unity 版本。启用此选项时,将显示 Major、Minor 和 Release 属性。 禁用此选项表示这个资源包与所有 Unity 版本都兼容,并会删除 Major、Minor 和 Release 属性。 有关更多信息,请参阅 unity 属性的文档。 |
Major | 指定最小 Unity 版本的 MAJOR 部分。有关更多信息,请参阅 unity 属性的文档。 |
Minor | 指定最小 Unity 版本的 MINOR 部分。有关更多信息,请参阅 unity 属性的文档。 |
Release | 指定最小 Unity 版本的 UPDATE 和 RELEASE 部分。有关更多信息,请参阅 unityRelease 属性的文档。 |
列出此资源包依赖的其他资源包。每个条目包含资源包的正式名称(例如“com.unity.probuilder”)及其版本号。
要添加新的依赖项,请执行以下操作:
要删除依赖项,请执行以下操作:
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.