Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Initialize(SmartSettings, FormatItem, string, int, int, int, int)

Initializes this Selector instance.
Read time 1 minuteLast updated 12 days ago

Definition

public Selector Initialize(SmartSettings settings, FormatItem parent, string baseString, int startIndex, int endIndex, int operatorStartIndex, int selectorIndex)

Parameters

Formatter and parser settings.

Parent FormatItem.

baseString

Input format string.

startIndex

Start index of the selector inside the FormatItem.BaseString.

endIndex

End index of the selector inside the FormatItem.BaseString.

operatorStartIndex

Start index of the operator that precedes the selector.

selectorIndex

Index of the selector within its Placeholder.

Returns

Type

Description

SelectorThis Selector instance.