Initialize(SmartSettings, FormatItem, string, int, int, int, int)
Initializes this Selector instance.
Read time 1 minuteLast updated 12 days ago
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.