Scripting API

FontData

class in UnityEngine.UI · UnityEngine.UI

14 of 14 of Unity's members
In Tassix

A Text's font settings, serialized as Unity's m_FontData.

Properties 13

bool alignByGeometry { get; set; }
TextAnchor alignment { get; set; }
bool bestFit { get; set; }
static FontData defaultFontData { get; }
Font? font { get; set; }
int fontSize { get; set; }
FontStyle fontStyle { get; set; }
HorizontalWrapMode horizontalOverflow { get; set; }
float lineSpacing { get; set; }
int maxSize { get; set; }
int minSize { get; set; }
bool richText { get; set; }
VerticalWrapMode verticalOverflow { get; set; }