Class DefaultFormatter
Do the default formatting, same logic as "String.Format".
Inherited Members
Namespace: UnityEngine.Localization.SmartFormat.Extensions
Syntax
[Serializable]
public class DefaultFormatter : FormatterBase, IFormatter, ISerializationCallbackReceiver
Constructors
DefaultFormatter()
Declaration
public DefaultFormatter()
Properties
DefaultNames
Declaration
public override string[] DefaultNames { get; }
Property Value
Type | Description |
---|---|
String[] |
Overrides
Methods
TryEvaluateFormat(IFormattingInfo)
Declaration
public override bool TryEvaluateFormat(IFormattingInfo formattingInfo)
Parameters
Type | Name | Description |
---|---|---|
IFormattingInfo | formattingInfo |
Returns
Type | Description |
---|---|
Boolean |