# SetPlatformSettings(TextureImporterPlatformSettings)

> Set the platform specific settings.

## Definition

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

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

```csharp
public void SetPlatformSettings(TextureImporterPlatformSettings src)
```

### Parameters

**** (\[TextureImporterPlatformSettings]\(/engine/6000.5/script-reference/unityeditor/textureimporterplatformsettings)):&#x20;

### Remarks

If platform specific settings are set, then the Importer packs Textures using these settings for the target platform instead of the default settings.
