Class Smart
This class holds a Default instance of the SmartFormatter. The default instance has all extensions registered.
Namespace: UnityEngine.Localization.SmartFormat
Assembly: Unity.Localization.dll
Syntax
public static class Smart
Properties
Name | Description |
---|---|
Default | The default formatter that is used when no formatter is explicitly used. |
Methods
Name | Description |
---|---|
CreateDefaultSmartFormat() | Creates a new formatter with default settings. |
Format(IFormatProvider, string, params object[]) | Replaces one or more format items in a specified string with the string representation of a specific object. |
Format(string, object) | Replaces one or more format items in a specified string with the string representation of a specific object. |
Format(string, object, object) | Replaces one or more format items in a specified string with the string representation of a specific object. |
Format(string, object, object, object) | Replaces one or more format items in a specified string with the string representation of a specific object. |
Format(string, params object[]) | Replaces one or more format items in a specified string with the string representation of a specific object. |