Documentation

Unity Engine


User Manual

Script Reference

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 10 days 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.