ドキュメント

Unity Engine

Unity Engine

GetAutomaticFormat(string)

Returns the TextureImporterFormat that would be automatically chosen for this platform.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public TextureImporterFormat GetAutomaticFormat(string platform)

Parameters

platform

Returns

Type

Description

TextureImporterFormatFormat chosen by the system for the provided platform, TextureImporterFormat.Automatic if the platform does not exist.

Remarks

The options for the platform string are "Standalone", "Web", "iPhone", "Android", "WebGL", "Windows Store Apps", "PS4", "PSM", "XboxOne", "Nintendo Switch" and "tvOS".