Version: 2019.4
public static PackageInfo FindForAssetPath (string assetPath);

パラメーター

assetPathThe file path of the Asset.

戻り値

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

説明

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