ChooseFormatter
Outputs one of several literal options, selected according to the input value.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Class
- Namespace: Unity.SmartStrings.Extensions
- Assembly: UnityEngine.SmartStringsModule
- Inherits from: FormatterBase
- Implements: IFormatter, IFormatterLiteralExtractor
public class ChooseFormatter : FormatterBase, IFormatter, IFormatterLiteralExtractor
Properties
Property | Description |
|---|---|
| CaseSensitivity | The CaseSensitivityType for option strings. Defaults to CaseSensitivityType.CaseSensitive. Comparison of option strings is culture-aware. |
| SplitChar | The character used to split the option text literals. Valid characters are: | (pipe) , (comma) ~ (tilde) |