40 if (!Application.isPlaying)
78 if (fontSource ==
null)
82 base.font = fontSource.
font;
83 num += fontSource.sizeFix + num2;
85 if (base.fontSize != num)
89 if (base.resizeTextForBestFit)
91 base.resizeTextMaxSize = base.fontSize;
100 Shadow component = GetComponent<Shadow>();
105 component.enabled =
true;
109 else if ((
bool)component)
111 component.enabled =
false;
130 if (base.fontStyle == FontStyle.Bold)
134 base.fontStyle = FontStyle.Normal;
142 color.r = (color.r - 0.5f) * num4 + num3;
143 color.g = (color.g - 0.5f) * num4 + num3;
144 color.b = (color.b - 0.5f) * num4 + num3;
153 if (!
string.IsNullOrEmpty(
lang))
187 base.horizontalOverflow = HorizontalWrapMode.Wrap;
248 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)