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.ToLocalizedCurrent(str)); }
public static string Localized(this ScString str, params object[] args) { return(FontManager.instance.ToLocalizedCurrent(str, args)); }
public static string Localized(this ScString str, params object[] args) { return(FontManager.instance != null ? FontManager.instance.ToLocalizedCurrent(str, args) : string.Format(str.ToString(), args)); }