GetTargetSettings(string)
Returns the platform-specific import settings for the specified platform.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public VideoImporterTargetSettings GetTargetSettings(string platform)
Parameters
Platform name.
Returns
Type | Description |
|---|---|
| VideoImporterTargetSettings | The platform-specific import settings for the specified platform. |
Remarks
The platform string must match the name of a NamedBuildTarget, for example , , or . This method throws an if the string doesn't match a supported platform. To get the settings that platforms without an override use, refer to VideoClipImporter.defaultTargetSettings.
"Standalone""Android""WebGL"ArgumentException