Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LiteralText

Represents the literal text that is found in a parsed format string.
Read time 1 minuteLast updated 13 days ago

Definition

public class LiteralText : FormatItem

Methods

Method

Description

AsSpanGets the character span for the LiteralText, with escaped characters converted. Note: The Parser puts each escaped character of an input string into its own LiteralText item.
ClearClears the LiteralText item. This method gets called by LiteralTextPool when it releases an instance.
InitializeInitializes the LiteralText instance, representing the literal text that is found in a parsed format string.
ToStringGet the string representation of the LiteralText, with escaped characters converted. Note: The Parser puts each escaped character of an input string into its own LiteralText item.

Inheritance