Class DefaultSource
Namespace: UnityEngine.Localization.SmartFormat.Extensions
Syntax
[Serializable]
public class DefaultSource : ISource
Constructors
DefaultSource(SmartFormatter)
Declaration
public DefaultSource(SmartFormatter formatter)
Parameters
Type | Name | Description |
---|---|---|
SmartFormatter | formatter |
Methods
TryEvaluateSelector(ISelectorInfo)
Performs the default index-based selector, same as String.Format.
Declaration
public bool TryEvaluateSelector(ISelectorInfo selectorInfo)
Parameters
Type | Name | Description |
---|---|---|
ISelectorInfo | selectorInfo |
Returns
Type | Description |
---|---|
Boolean |