# GetCompatibleWithPlatform

> Is plugin compatible with specified platform.

## Definition

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

## GetCompatibleWithPlatform(BuildTarget)

Is plugin compatible with specified platform.

```csharp
public bool GetCompatibleWithPlatform(BuildTarget platform)
```

### Parameters

**** (\[BuildTarget]\(/engine/6000.0/script-reference/unityeditor/buildtarget)): Target platform.

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |

## GetCompatibleWithPlatform(string)

Is plugin compatible with specified platform.

```csharp
public bool GetCompatibleWithPlatform(string platformName)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
