docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PackageManifestDatabase

    Holds the relevant contents of the "combined manifest" JSON files (one per Major.Minor editor line, e.g. "6000.1").

    Inheritance
    object
    PackageManifestDatabase
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)