# GetPlatformSettings(string)

> Gets the platform settings of the build target specified.

## Definition

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

> **Warning:**
>
> **Deprecated.** GetPlatformSettings is no longer supported and will be removed. Use SpriteAtlasImporter.GetPlatformSettingss instead.

```csharp
public TextureImporterPlatformSettings GetPlatformSettings(string buildTarget)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the build target.

### Returns

| Type                                                                                                              | Description |
| ----------------------------------------------------------------------------------------------------------------- | ----------- |
| [TextureImporterPlatformSettings](/engine/6000.5/script-reference/unityeditor/textureimporterplatformsettings.md) |             |
