Documentation

Unity Engine

Download Unity

Unity Engine

GetTargetSettings(string)

Returns the platform-specific import settings for the specified platform.
Read time 1 minuteLast updated 2 months 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. Throws an exception if the platform is unknown.

Remarks

The options for the platform string are "Default", "Standalone", "Android", "iOS", "Lumin", "PS4", "Switch", "tvOS", "WebGL", "WSA", or "XboxOne".