# SetExcludeEditorFromAnyPlatform(bool)

> Exclude Editor from compatible platforms when Any Platform is set to true.

## Definition

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

```csharp
public void SetExcludeEditorFromAnyPlatform(bool excludedFromAny)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Set to true to exclude **Editor** when **Any Platform** is set to true. Set to false to include it.

### Remarks

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