文档

Unity Engine

Download Unity

Unity Engine

SetTargetSettings(string, VideoImporterTargetSettings)

Sets the platform-specific import settings for the specified platform.
阅读时间1 分钟最后更新于 2 个月前

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