# AssemblyExtension

> Extends the Assembly class with additional methods.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static class AssemblyExtension
```

## Remarks

`AssemblyExtension` is a utility class that provides additional functionality for the [Assembly](/engine/6000.7/script-reference/unityeditor/compilation/assembly.md) class. Access the methods of this class via the `Assembly` class rather than via `AssemblyExtension` directly. For example, to use [AssemblyExtension.GetLoadedAssemblyPath](/engine/6000.7/script-reference/unityengine/assemblyextension/getloadedassemblypath.md), call: `Assembly.GetLoadedAssemblyPath`.

Additional Resources: [Assembly](/engine/6000.7/script-reference/unityeditor/compilation/assembly.md)

## Examples

```csharp
using UnityEditor;
using UnityEngine;
public static class AssemblyInfoExtractor
{
    [MenuItem("Test/Log Assembly Path")]
    static void LogAssemblyPath()
    {
        Debug.Log(typeof(AssemblyInfoExtractor).Assembly.GetLoadedAssemblyPath());
    }
}
```

## Static Methods

| Method                                                                                                          | Description                       |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------- |
| [GetLoadedAssemblyPath](/engine/6000.7/script-reference/unityengine/assemblyextension/getloadedassemblypath.md) | Returns location of the assembly. |
