GetETC1SupportedCanvasMaterial()
Gets or generates the ETC1 Material.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.UIModule
public static Material GetETC1SupportedCanvasMaterial()
Returns
Type | Description |
|---|---|
| Material | The generated ETC1 Material from the Canvas. |
Remarks
Uses the UI/DefaultETC1 Shader which must be specified in the Always Included Shader list.