Documentation

Unity Engine

Download Unity

Unity Engine

TryGetManifestInfo(string, string, out PackageManifestInfo)

Queries the package version database.
Read time 1 minuteLast updated 2 months ago

Definition

TryGetManifestInfo(string, string, PackageManifestInfo)

public bool TryGetManifestInfo(string editorVersionPrefix, string packageName, out PackageManifestDatabase.PackageManifestInfo manifest)

Parameters

editorVersionPrefix

The Unity version to query. Usually a future version, to detect what will change during an upgrade.

packageName

The package to query.

The information about the package in the desired version.

Returns

Type

Description

boolReturns true if the database contains information about the supplied package.