Documentation

Unity Engine

Download Unity

Unity Engine

Font

Create a new Font.
Read time 1 minuteLast updated 2 months ago

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.