文档

Unity Engine

Download Unity

Unity Engine

GetTargetSettings(string)

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

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