public static string Localized(this ScString str, params object[] args) { return(FontManager.instance != null ? FontManager.instance.ToLocalizedCurrent(str, args) : string.Format(str.ToString(), args)); }
static string NormalizeLineEndings(ScString e) { return(Regex.Replace(e.ToString(), @"\r\n|\n\r|\n|\r", "\r\n")); }
public static string Localized(this ScString str) { return(FontManager.instance != null?FontManager.instance.ToLocalizedCurrent(str) : str.ToString()); }