Class CustomPluralRuleProvider
Use this class to provide custom plural rules to Smart.Format
Namespace: UnityEngine.Localization.SmartFormat.Extensions
Assembly: Unity.Localization.dll
Syntax
public class CustomPluralRuleProvider
Constructors
Name | Description |
---|---|
CustomPluralRuleProvider(PluralRuleDelegate) | Creates a new instance of the plural rule provider. |
Methods
Name | Description |
---|---|
GetFormat(Type) | Returns the formatter when |
GetPluralRule() | Returns the custom plural rule delegate. |