Initialize(SmartSettings, FormatItem, string, int, int)
Initializes the LiteralText instance, representing the literal text that is found in a parsed format string.
阅读时间1 分钟最后更新于 1 个月前
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. |