All pages
Powered by GitBook
1 of 9

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

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

Name
Description

Name
Description

TextWithoutCharacterName

Property in

The underlying for this line, with any character attribute removed.

If the line has no character attribute, this method returns the same value as .

RawText

Field in

DialogueLine's text

Asset

Field in

The asset associated with this line, if any.

Metadata

Field in

Any metadata associated with this line.

TextID

Field in

DialogueLine's ID

CharacterName

Property in

The name of the character, if present.

This value will be null if the line does not have a character name.

Text

Property in

The underlying for this line.

public Markup.MarkupParseResult TextWithoutCharacterName
{
            get; }

Summary

Remarks

LocalizedLine
MarkupParseResult
Text
public string RawText;

Summary

LocalizedLine
public Object Asset;

Summary

LocalizedLine
public string[] Metadata;

Summary

LocalizedLine
public string TextID;

Summary

LocalizedLine
public string CharacterName
{
            get; }

Summary

Remarks

LocalizedLine
public Markup.MarkupParseResult Text { get; set; }

Summary

LocalizedLine
MarkupParseResult

The asset associated with this line, if any.

Any metadata associated with this line.

DialogueLine's text

DialogueLine's inline expression's substitution

DialogueLine's ID

The name of the character, if present.

The underlying for this line.

Properties

Asset

The underlying for this line, with any character attribute removed.

Metadata
RawText
Substitutions
TextID
CharacterName
Text
MarkupParseResult
TextWithoutCharacterName

Substitutions

Field in

DialogueLine's inline expression's substitution

MarkupParseResult
public string[] Substitutions;

Summary

LocalizedLine