# GetExcludeFromAnyPlatform

> Is platform excluded when Any Platform set to true.

## Definition

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

## GetExcludeFromAnyPlatform(string)

Is platform excluded when **Any Platform** set to true.

```csharp
public bool GetExcludeFromAnyPlatform(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) |             |

### Remarks

See also [PluginImporter.SetExcludeFromAnyPlatform](/engine/6000.7/script-reference/unityeditor/pluginimporter/setexcludefromanyplatform.md).

## GetExcludeFromAnyPlatform(BuildTarget)

Is platform excluded when **Any Platform** set to true.

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

### Parameters

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

### Returns

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

### Remarks

See also [PluginImporter.SetExcludeFromAnyPlatform](/engine/6000.7/script-reference/unityeditor/pluginimporter/setexcludefromanyplatform.md).
