文档

Unity Engine

Unity Engine

Font

Create a new Font.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TextRenderingModule

Font()

Create a new Font.
public Font()

Remarks

You may want to use this if you need to create Font objects programmatically to set up your own font by assigning the Font.characterInfo property.

Font(string)

Create a new Font.
public Font(string name)

Parameters

name

The name of the created Font object.

Remarks

You may want to use this if you need to create Font objects programmatically to set up your own font by assigning the Font.characterInfo property.