Version: 2022.2
言語: 日本語
public static PackageInfo FindForAssetPath (string assetPath);

パラメーター

assetPath The file path of the asset.

戻り値

PackageInfo The PackageInfo instance 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.