# SetPlatformData

> Sets platform specific data.

## Definition

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

## SetPlatformData(BuildTarget, string, string)

Sets platform specific data.

```csharp
public void SetPlatformData(BuildTarget platform, string key, string value)
```

### Parameters

**** (\[BuildTarget]\(/engine/6000.6/script-reference/unityeditor/buildtarget)): Target platform.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Key value for data.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Data.

## SetPlatformData(string, string, string)

Sets platform specific data.

```csharp
public void SetPlatformData(string platformName, string key, string value)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Key value for data.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Data.
