# SetPlatformEnabled(RuntimePlatform, bool)

> Enable the specific platform.

## Definition

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

> **Warning:**
>
> **Deprecated.** No longer supported and will do nothing

```csharp
public static void SetPlatformEnabled(RuntimePlatform platform, bool value)
```

### Parameters

**** (\[RuntimePlatform]\(/engine/6000.6/script-reference/unityengine/runtimeplatform)): **** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;
