기술 자료

Unity Engine

Unity Engine

GetTargetSettings(string)

Returns the platform-specific import settings for the specified platform.
읽는 시간 1분최근 업데이트: 한 달 전

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