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 LocalizedLine

Fields

NameDescription
AssetThe asset associated with this line, if any.
InvalidLineA LocalizedLine object that represents content not being found.
MetadataAny metadata associated with this line.
RawTextDialogueLine’s text
SourceThe object that created this line. Most of the time will be the DialogueRunner that passed the presenter the line.
SubstitutionsDialogueLine’s inline expression’s substitution
TextIDDialogueLine’s ID

Properties

NameDescription
CharacterNameThe name of the character, if present.
TextThe underlying MarkupParseResult for this line.
TextWithoutCharacterNameThe underlying MarkupParseResult for this line, with any character attribute removed.