LocalizedLine
Class in Yarn.Unity
Inherits from System.Object
Summary
Represents a line, ready to be presented to the user in the localisation they have specified.
public class LocalizedLineFields
| Name | Description |
|---|---|
| Asset | The asset associated with this line, if any. |
| InvalidLine | A LocalizedLine object that represents content not being found. |
| Metadata | Any metadata associated with this line. |
| RawText | DialogueLine’s text |
| Source | The object that created this line. Most of the time will be the DialogueRunner that passed the presenter the line. |
| Substitutions | DialogueLine’s inline expression’s substitution |
| TextID | DialogueLine’s ID |
Properties
| Name | Description |
|---|---|
| CharacterName | The name of the character, if present. |
| Text | The underlying MarkupParseResult for this line. |
| TextWithoutCharacterName | The underlying MarkupParseResult for this line, with any character attribute removed. |