Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Font

Create a new Font.
Read time 1 minuteLast updated 4 days 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 _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 _characterInfo property.