# GetImporters

> Gets the importers of all the plug-ins that are compatible with a platform, identified by name.

## Definition

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

## GetImporters(string)

Gets the importers of all the plug-ins that are compatible with a platform, identified by name.

```csharp
public static PluginImporter[] GetImporters(string platformName)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the target platform.

### Returns

| Type                                                                                | Description                                           |
| ----------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [PluginImporter\[\]](/engine/7000.0/script-reference/unityeditor/pluginimporter.md) | An array of the importers of the compatible plug-ins. |

### Remarks

The array includes plug-ins that are compatible with the platform directly, and plug-ins that are compatible with any platform and don't exclude it. If two plug-ins build to the same path and one of them is overridable, the array includes only the one that isn't overridable.

## GetImporters(BuildTarget)

Gets the importers of all the plug-ins that are compatible with a build target.

```csharp
public static PluginImporter[] GetImporters(BuildTarget platform)
```

### Parameters

**** (\[BuildTarget]\(/engine/7000.0/script-reference/unityeditor/buildtarget)): The target platform.

### Returns

| Type                                                                                | Description                                           |
| ----------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [PluginImporter\[\]](/engine/7000.0/script-reference/unityeditor/pluginimporter.md) | An array of the importers of the compatible plug-ins. |

### Remarks

The array includes plug-ins that are compatible with the platform directly, and plug-ins that are compatible with any platform and don't exclude it. If two plug-ins build to the same path and one of them is overridable, the array includes only the one that isn't overridable.

## GetImporters(string, string)

Gets the importers of all the plug-ins that are compatible with a build target group and build target, identified by name.

```csharp
public static PluginImporter[] GetImporters(string buildTargetGroup, string buildTarget)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the build target group.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the build target.

### Returns

| Type                                                                                | Description                                           |
| ----------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [PluginImporter\[\]](/engine/7000.0/script-reference/unityeditor/pluginimporter.md) | An array of the importers of the compatible plug-ins. |

### Remarks

The array includes plug-ins that are compatible with the build target directly, and plug-ins that are compatible with any platform and don't exclude it.

## GetImporters(BuildTargetGroup, BuildTarget)

Gets the importers of all the plug-ins that are compatible with a build target group and build target.

```csharp
public static PluginImporter[] GetImporters(BuildTargetGroup buildTargetGroup, BuildTarget buildTarget)
```

### Parameters

**** (\[BuildTargetGroup]\(/engine/7000.0/script-reference/unityeditor/buildtargetgroup)): The build target group.**** (\[BuildTarget]\(/engine/7000.0/script-reference/unityeditor/buildtarget)): The build target.

### Returns

| Type                                                                                | Description                                           |
| ----------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [PluginImporter\[\]](/engine/7000.0/script-reference/unityeditor/pluginimporter.md) | An array of the importers of the compatible plug-ins. |

### Remarks

The array includes plug-ins that are compatible with the build target directly, and plug-ins that are compatible with any platform and don't exclude it.
