Specifies fonts to use for different languages. More...
Classes | |
class | FontForLanguage |
Public Member Functions | |
Font | GetFont (string language) |
Returns the font for a specified language, or default font if none. | |
float | GetFontScale (string language) |
Public Attributes | |
Font | defaultFont |
List< FontForLanguage > | fontsForLanguages = new List<FontForLanguage>() |
Specifies fonts to use for different languages.
Used by SetLocalizedFont and LocalizeUI.
|
inline |
Returns the font for a specified language, or default font if none.
|
inline |
Font PixelCrushers.LocalizedFonts.defaultFont |
List<FontForLanguage> PixelCrushers.LocalizedFonts.fontsForLanguages = new List<FontForLanguage>() |