Initialize(SmartSettings, FormatItem, string, int, int)
Initializes the LiteralText instance, representing the literal text that is found in a parsed format string.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.SmartStrings.Core.Parsing
- Assembly: UnityEngine.SmartStringsModule
public LiteralText Initialize(SmartSettings smartSettings, FormatItem parent, string baseString, int startIndex, int endIndex)
Parameters
Formatter and parser settings.
Parent FormatItem.
Reference to the parsed format string.
Start index of the LiteralText in the format string.
End index of the LiteralText in the format string.
Returns
Type | Description |
|---|---|
| LiteralText | The LiteralText instance, representing the literal text that is found in a parsed format string. |