2using System.Collections.Generic;
90 fontSet.ui.index = dataUI.
index;
91 fontSet.ui.sizeMod = dataUI.size - 4;
92 fontSet.chatbox.index = dataChatbox.
index;
93 fontSet.chatbox.sizeMod = dataChatbox.size - 3;
94 fontSet.balloon.index = dataBalloon.
index;
95 fontSet.balloon.sizeMod = dataBalloon.size - 1;
96 fontSet.dialog.index = dataDialog.
index;
97 fontSet.dialog.sizeMod = dataDialog.size - 3;
98 fontSet.widget.index = dataWidget.
index;
99 fontSet.widget.sizeMod = dataWidget.size - 2;
100 fontSet.news.index = dataNews.
index;
101 fontSet.news.sizeMod = dataNews.size - 2;
103 for (
int i = 0; i < componentsInChildren.Length; i++)
118 dictFonts =
new Dictionary<string, FontSource>();
127 if (fontSource ==
null)
129 fontSource =
dictFonts[
"Arial"].Instantiate();
130 Font font = Font.CreateDynamicFontFromOSFont(item2.id, item2.importSize);
133 fontSource.font = font;
136 fontSource._name =
"*" + item2.id + ((font ==
null) ?
"(NotFound)" :
"");
166 originalTexture =
new Texture2D(skinTexture.width, skinTexture.height, skinTexture.format, mipChain:
false);
List< FontSetting > listFont
static LangSetting setting
static SkinColorProfile CurrentColors
SkinRootStatic currentSkin
static SkinRootStatic CurrentSkin
List< SkinRootStatic > mainSkins
void SetMainSkin(SkinRootStatic dest)
Dictionary< string, FontSource > dictFonts
static SkinManager Instance
static SkinRootStatic tempSkin
List< FontSource > FontList
static SkinColorProfile DarkColors
static int LimitFontSizeMod_UI
void SetFonts(FontSaveData dataUI, FontSaveData dataChatbox, FontSaveData dataBalloon, FontSaveData dataDialog, FontSaveData dataWidget, FontSaveData dataNews)
Texture2D originalTexture
List< FontSource > fontList
List< FontSource > fontListOriginal
static SkinManager _Instance
SkinRootStatic defaultSkin
TMP_FontAsset defaultFontAsset
SkinColorProfile _default