# GetTargetSettings(string)

> Returns the platform-specific import settings for the specified platform.

## Definition

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

```csharp
public VideoImporterTargetSettings GetTargetSettings(string platform)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Platform name.

### Returns

| Type                                                                                                      | Description                                                       |
| --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [VideoImporterTargetSettings](/engine/6000.6/script-reference/unityeditor/videoimportertargetsettings.md) | The platform-specific import settings for the specified platform. |

### Remarks

The platform string must match the name of a [NamedBuildTarget](/engine/6000.6/script-reference/unityeditor/build/namedbuildtarget.md), for example `"Standalone"`, `"Android"`, or `"WebGL"`. This method throws an `ArgumentException` if the string doesn't match a supported platform. To get the settings that platforms without an override use, refer to [VideoClipImporter.defaultTargetSettings](/engine/6000.6/script-reference/unityeditor/videoclipimporter/defaulttargetsettings.md).
