44 if (!Application.isPlaying)
82 if (fontSource ==
null)
86 base.font = fontSource.
font;
87 num += fontSource.sizeFix + num2;
89 if (base.fontSize != num)
93 if (base.resizeTextForBestFit)
95 base.resizeTextMaxSize = base.fontSize;
104 Shadow component = GetComponent<Shadow>();
109 component.enabled =
true;
113 else if ((
bool)component)
115 component.enabled =
false;
134 if (base.fontStyle == FontStyle.Bold)
138 base.fontStyle = FontStyle.Normal;
146 color.r = (color.r - 0.5f) * num4 + num3;
147 color.g = (color.g - 0.5f) * num4 + num3;
148 color.b = (color.b - 0.5f) * num4 + num3;
157 if (!
string.IsNullOrEmpty(
lang))
191 base.horizontalOverflow = HorizontalWrapMode.Wrap;
252 if (!
string.IsNullOrEmpty(
lang))
List< Action > actionsLateUpdate
virtual void ApplySkin(UIImage t)
virtual SkinColorProfile GetColors(SkinType type)
virtual SkinAsset_Button GetButton()
void _SetText(string str, bool useHypenation)
static LangSetting setting
static string Get(string id)
Color GetTextColor(FontColor fontColor)
static SkinRootStatic CurrentSkin
static SkinManager Instance
List< FontSource > FontList
static int LimitFontSizeMod_UI
void SetText(string s, Color c)
HyphenationJpn hyphenation
void SetColor(FontColor c)
void SetLang(string idLang)
void SetText(string s, FontColor c)