Class LiteralText
Represents the literal text that is found in a parsed format string.
Inherited Members
Namespace: UnityEngine.Localization.SmartFormat.Core.Parsing
Syntax
public class LiteralText : FormatItem
Constructors
LiteralText(SmartSettings, Format)
Declaration
public LiteralText(SmartSettings smartSettings, Format parent)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartSettings | smartSettings | |
| Format | parent |
LiteralText(SmartSettings, Format, Int32)
Declaration
public LiteralText(SmartSettings smartSettings, Format parent, int startIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartSettings | smartSettings | |
| Format | parent | |
| Int32 | startIndex |
Methods
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String |