Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetTargetSettings(string, VideoImporterTargetSettings)

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public void SetTargetSettings(string platform, VideoImporterTargetSettings settings)

Parameters

platform

Platform name.

The new 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".