文档

Unity Engine

Unity Engine

GetDefaultCanvasTextMaterial()

Returns the default material that can be used for rendering text elements on the Canvas.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
警告
Deprecated. Shared default material now used for text and general UI elements, call Canvas.GetDefaultCanvasMaterial()
public static Material GetDefaultCanvasTextMaterial()

Returns

Type

Description

Material