文档

Unity Engine

Unity Engine

SetAllowsAlphaSplitting(bool)

Setter for the flag that allows Alpha splitting on the imported texture when needed (for example ETC1 compression for textures with transparency).
阅读时间1 分钟最后更新于 2 天前

Definition

警告
Deprecated. Use UnityEditor.TextureImporter.SetPlatformTextureSettings() instead.
public void SetAllowsAlphaSplitting(bool flag)

Parameters

flag