Class SmartExtensions
Extensions to support smart format common use cases.
Namespace: UnityEngine.Localization.SmartFormat
Assembly: Unity.Localization.dll
Syntax
public static class SmartExtensions
Methods
Name | Description |
---|---|
AppendLineSmart(StringBuilder, string, params object[]) | AppendLines a formatted string, using the same semantics as Smart.Format. |
AppendSmart(StringBuilder, string, params object[]) | Appends a formatted string, using the same semantics as Smart.Format. |
FormatSmart(string, params object[]) | Formats the specified arguments using this string as a template. |
FormatSmart(string, ref FormatCache, params object[]) | Formats the specified arguments using this string as a template. Caches the parsing results for increased performance. |
WriteLineSmart(TextWriter, string, params object[]) | Writes out a formatted string, using the same semantics as Smart.Format. |
WriteSmart(TextWriter, string, params object[]) | Writes out a formatted string, using the same semantics as Smart.Format. |