Version: 2020.1
Inspecting packages
Scripting API for packages

Package Manifest window

When you click on the package manifestEach package has a manifest, which provides information about the package to the Package Manager. The manifest contains information such as the name of the package, its version, a description for users, dependencies on other packages (if any), and other details. More info
See in Glossary
file in the Project view, the Package Manifest window opens:

Inspecting a package manifest in the Editor
Inspecting a package manifest in the Editor

(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) The Information section contains details about this specific package version.

(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) Use the Dependencies
See in Glossary
section to manage the list of packages that this package depends on.

(E) Click the Revert button to discard any changes you’ve made to the manifest. Click the Apply button to save any changes you’ve made to the manifest.

Information

Information section
Information section
Property Description
Name The official Unity name for this package. For more information, see the documentation for the name attribute.
Display name The user-facing name on display in the Project view and in the Package Manager. For more information, see the documentation for the displayName attribute.
Version The package version number. For more information, see the documentation for the version attribute.
Minimal Unity version Enable this option to specify the lowest Unity version this package is compatible with. When you enable this option, the Major, Minor, and Release properties appear.

Disable this option to indicate that this package is compatible with all Unity versions and remove the Major, Minor, and Release properties.

For more information, see the documentation for the unity attribute.
Major Specify the MAJOR portion of the minimal Unity version. For more information, see the documentation for the unity attribute.
Minor Specify the MINOR portion of the minimal Unity version. For more information, see the documentation for the unity attribute.
Release Specify the UPDATE and RELEASE portion of the minimal Unity version. For more information, see the documentation for the unityRelease attribute.

Dependencies

Dependencies section
Dependencies section

Lists the other packages that are dependencies for this package. Each entry consists of the official package name (for example, “com.unity.probuilder”) and its version number.

To add a new dependency:

  1. Click the add button. A new row appears in the list.
  2. Fill out the Package name and Version. For more information, see the documentation for the dependencies attribute.

To remove a dependency:

  1. Click left of the Package name property on the row for the entry you want to remove.
  2. Click the remove button. The row disappears from the list.

  • Custom Packages added in Unity 2019.1 NewIn20191
Inspecting packages
Scripting API for packages
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961