ドキュメント

Unity Engine

Unity Engine

FindForAssembly(Assembly)

Retrieves information about the package containing an assembly, or the assembly definition used to build that assembly.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static PackageInfo FindForAssembly(Assembly assembly)

Parameters

assembly

The assembly.

Returns

Type

Description

PackageInfoThe PackageInfo instance describing the package, or null if the assembly or its assembly definition is not in a package.