public static PackageInfo FindForAssetPath (string assetPath);

Parámetros

assetPathThe file path of the Asset.

Valor de retorno

PackageInfo The PackageInfo object describing the package, or null if the Asset is not in a package.

Descripción

Retrieves information about the package containing an asset based on the path of that asset.