Documentation

Unity Engine

Unity Engine

characterInfo

Access an array of all characters contained in the font texture.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TextRenderingModule
public CharacterInfo[] characterInfo { get; set; }

Remarks

You can read this if you want to render the font texture using custom generated Meshes, or you can set it when you want to build your own custom font assets from scripts (or modify existing ones).
Additional Resources: Font.GetCharacterInfo