文档

Unity Engine


User Manual

Script Reference

Unity Engine


ApplyTextureType

Configure parameters to import a texture for a purpose of type, as described here.
阅读时间1 分钟最后更新于 22 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

ApplyTextureType(TextureImporterType, bool)

Configure parameters to import a texture for a purpose of type, as described here.
警告
Deprecated. ApplyTextureType(TextureImporterType, bool) is deprecated, use ApplyTextureType(TextureImporterType)
public void ApplyTextureType(TextureImporterType type, bool applyAll)

Parameters


applyAll

If
false
, change only specific properties. Exactly which, depends on type.

ApplyTextureType(TextureImporterType)

Configure parameters to import a texture for a purpose of type, as described here.
public void ApplyTextureType(TextureImporterType type)

Parameters