Documentation

Unity Engine


Unity Engine


GetTargetSettings(string)

Returns the platform-specific import settings for the specified platform.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public VideoImporterTargetSettings GetTargetSettings(string platform)

Parameters

platform

Platform name.

Returns

Type

Description

VideoImporterTargetSettingsThe platform-specific import settings for the specified platform.

Remarks

Refer to NamedBuildTarget for the complete list of options, and type the desired platform name in the form of a string. 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.