SetTargetSettings(string, VideoImporterTargetSettings)
Sets 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 void SetTargetSettings(string platform, VideoImporterTargetSettings settings)
Parameters
Platform name.
The new platform-specific import settings.
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. Set VideoClipImporter.defaultTargetSettings to change the settings that platforms without an override use.
"Standalone""Android""WebGL"ArgumentException