Documentation

Unity Engine


Unity Engine


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 a month ago

Definition

public LiteralText Initialize(SmartSettings smartSettings, FormatItem parent, string baseString, int startIndex, int endIndex)

Parameters

smartSettings

Formatter and parser settings.

Parent FormatItem.

baseString

Reference to the parsed format string.

startIndex

Start index of the LiteralText in the format string.

endIndex

End index of the LiteralText in the format string.

Returns

Type

Description

LiteralTextThe LiteralText instance, representing the literal text that is found in a parsed format string.