public UXLabel(UXCamera uxCamera, UXLabelComponent component) : base(uxCamera, component.gameObject, null) { this.component = component; this.OriginalTextColor = component.TextColor; if (Service.Lang.IsJapanese()) { component.NGUILabel.trueTypeFont = Service.Lang.CustomJapaneseFont; } }
public UXLabel(UXCamera uxCamera, UXLabelComponent component) : base(uxCamera, component.gameObject, null) { this.component = component; this.OriginalTextColor = component.TextColor; if (Service.Get <Lang>().IsKorean()) { string text = SystemInfo.operatingSystem.ToLower(); if (text.Contains("phone") && text.Contains("(10.")) { component.NGUILabel.trueTypeFont = Service.Get <Lang>().CustomKoreanFont; } } }