Initialize(SmartSettings, FormatItem, string, int, int, int, int)
Initializes this Selector instance.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.SmartStrings.Core.Parsing
- Assembly: UnityEngine.SmartStringsModule
public Selector Initialize(SmartSettings settings, FormatItem parent, string baseString, int startIndex, int endIndex, int operatorStartIndex, int selectorIndex)
Parameters
Formatter and parser settings.
Parent FormatItem.
Input format string.
Start index of the selector inside the FormatItem.BaseString.
End index of the selector inside the FormatItem.BaseString.
Start index of the operator that precedes the selector.
Index of the selector within its Placeholder.