用于描述 Unity 包的结构。
对注册表中的包、源代码仓库修订版本、网络中的资源或磁盘上可用包的引用。
| assetPath | AssetDatabase 中包的资源路径。 |
| author | 包创作者的 AuthorInfo 实例。 |
| category | 包的类别。 |
| changelogUrl | The custom URL for the changelog for the package. |
| datePublished | 包的发布日期和时间。 |
| dependencies | 一个 DependencyInfos 数组,其中列出此包直接依赖的所有包。 |
| description | 包的详细描述。 |
| displayName | 包的友好显示名称。 |
| documentationUrl | The custom URL for documentation for the package. |
| errors | 与包相关的错误。 |
| git | 为 Git 包提供详细信息的 GitInfo 实例。 |
| isDirectDependency | 如果包是项目的直接依赖关系。 |
| keywords | 与包相关的关键字数组。 |
| licensesUrl | The custom URL for the licenses of a package. |
| name | 包的唯一名称。 |
| packageId | 包的标识符。 |
| registry | 包管理器从中获得包的注册表。 |
| repository | A RepositoryInfo instance containing information the repository that the package is hosted on. |
| resolvedDependencies | 一个 DependencyInfos 数组,其中列出此包直接或间接依赖的所有包以及它们解析到的版本。 |
| resolvedPath | 磁盘上项目的本地路径。 |
| source | 包内容的来源。 |
| status | 包的状态。 |
| type | 包的类型。 |
| version | 包的版本。 |
| versions | 包含有关包的可用版本信息的 VersionsInfo 实例。 |
| FindForAssembly | 获取有关包含程序集的包或用于构建该程序集的程序集定义的信息。 |
| FindForAssetPath | 获取有关包含资源且基于该资源的路径的包的信息。 |