FontManager
Namespace:FairyGUI
Source:Assets/Scripts/Core/Text/FontManager.cs (line 10)
public class FontManager
Fields
sFontFactory
public static Dictionary<string, BaseFont> sFontFactory;
Source:Core/Text/FontManager.cs (line 12)
Methods
Clear()
static public void Clear();
Source:Core/Text/FontManager.cs (line 146)
GetFont(string)
static public BaseFont GetFont(string name);
| Parameter | Type | Description |
|---|---|---|
name | string |
Source:Core/Text/FontManager.cs (line 50)
RegisterFont(BaseFont, string)
static public void RegisterFont(BaseFont font, string alias = null);
| Parameter | Type | Description |
|---|---|---|
font | BaseFont | |
alias | string |
Source:Core/Text/FontManager.cs (line 21)
UnregisterFont(BaseFont)
static public void UnregisterFont(BaseFont font);
| Parameter | Type | Description |
|---|---|---|
font | BaseFont |
Source:Core/Text/FontManager.cs (line 32)