GetAutomaticFormat(string)
Returns the TextureImporterFormat that would be automatically chosen for this platform.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public TextureImporterFormat GetAutomaticFormat(string platform)
Parameters
Accepts the following platform strings; , , , , , and .
StandaloneWebiPhoneAndroidWindows Store AppstvOSReturns
Type | Description |
|---|---|
| TextureImporterFormat | Format chosen by the system for the provided platform, TextureImporterFormat.Automatic if the platform does not exist. |