This version of Unity is unsupported.

PackageInfo.FindForPackageName

Switch to Manual

Declaration

public static PackageInfo FindForPackageName(string name);

Parameters

name The package name to look for.

Returns

PackageInfo The PackageInfo instance describing the package, or null if there is no registered package with the given name.

Description

Retrieves information about the package based on the name of that package.