Version: 2017.1

TextureImporter.GetAutomaticFormat

Cambiar al Manual
public TextureImporterFormat GetAutomaticFormat (string platform);

Valor de retorno

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

Descripción

Returns the TextureImporterFormat that would be automatically chosen for this platform.

The options for the platform string are "Standalone", "Web", "iPhone", "Android", "WebGL", "Windows Store Apps", "Tizen", "PSP2", "PS4", "PSM", "XboxOne", "Samsung TV", "Nintendo 3DS", "WiiU" and "tvOS".