TemplateFormatter
Registers reusable templates and applies them by name.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Class
- Namespace: Unity.SmartStrings.Extensions
- Assembly: UnityEngine.SmartStringsModule
- Inherits from: FormatterBase
- Implements: IFormatter, IInitializer, ISerializationCallbackReceiver
public class TemplateFormatter : FormatterBase, IFormatter, IInitializer, ISerializationCallbackReceiver
Methods
Method | Description |
|---|---|
| Clear | Removes all registered templates. |
| Register | Registers a new template. |
| Remove | Removes a template by name. |