Class PackageManifestDatabase
Holds the relevant contents of the "combined manifest" JSON files (one per Major.Minor editor line, e.g. "6000.1").
Inherited Members
Namespace: Unity.ProjectAuditor.Editor.Modules
Assembly: Unity.ProjectAuditor.Editor.dll
Syntax
public class PackageManifestDatabase
Methods
TryGetManifestInfo(string, string, out PackageManifestInfo)
Queries the package version database.
Declaration
public bool TryGetManifestInfo(string editorVersionPrefix, string packageName, out PackageManifestDatabase.PackageManifestInfo manifest)
Parameters
| Type | Name | Description |
|---|---|---|
| string | editorVersionPrefix | The Unity version to query. Usually a future version, to detect what will change during an upgrade. |
| string | packageName | The package to query. |
| PackageManifestDatabase.PackageManifestInfo | manifest | The information about the package in the desired version. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if the database contains information about the supplied package. |