# FindForAssembly(Assembly)

> Retrieves information about the package containing an assembly, or the assembly definition used to build that assembly.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.PackageManager](/engine/6000.7/script-reference/unityeditor/packagemanager.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static PackageInfo FindForAssembly(Assembly assembly)
```

### Parameters

**** (\[Assembly]\(https\://learn.microsoft.com/dotnet/api/system.reflection.assembly)): The assembly.

### Returns

| Type                                                                                     | Description                                                                                                                                                                                           |
| ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [PackageInfo](/engine/6000.7/script-reference/unityeditor/packagemanager/packageinfo.md) | The [PackageInfo](/engine/6000.7/script-reference/unityeditor/packagemanager/packageinfo.md) instance describing the package, or null if the assembly or its assembly definition is not in a package. |
