# GetPlatformSettings(SpriteAtlas, string)

> Returns the platform settings of the build target you specify.

## Definition

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

```csharp
public static TextureImporterPlatformSettings GetPlatformSettings(this SpriteAtlas spriteAtlas, string buildTarget)
```

### Parameters

**** (\[SpriteAtlas]\(/engine/6000.6/script-reference/unityengine/u2d/spriteatlas)): **** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the build target.

### Returns

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