Class FontManager
Inheritance
System.Object
FontManager
Namespace: Unity.UIWidgets.ui
Syntax
public class FontManager
Fields
instance
Declaration
public static readonly FontManager instance
Field Value
| Type | Description |
|---|---|
| FontManager |
Methods
addFont(Font, String, FontWeight, FontStyle)
Declaration
public void addFont(Font font, string familyName, FontWeight fontWeight = null, FontStyle fontStyle = FontStyle.normal)
Parameters
| Type | Name | Description |
|---|---|---|
| Font | font | |
| System.String | familyName | |
| FontWeight | fontWeight | |
| FontStyle | fontStyle |