All pages
Powered by GitBook
1 of 6

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Length

Property in MarkupAttribute

Summary

Gets the number of text elements in the plain text that this attribute covers.

public int Length { get; internal set; }

Position

Property in MarkupAttribute

Summary

Gets the position in the plain text where this attribute begins.

public int Position { get; internal set; }

Properties

Property in

Summary

Gets the properties associated with this attribute.

public IReadOnlyDictionary<string, MarkupValue> Properties { get; internal set; }
MarkupAttribute

MarkupAttribute

Struct in Yarn.Markup

Inherits from System.ValueType

Summary

Represents a range of text in a marked-up string.

Remarks

You do not create instances of this struct yourself. It is created by objects that can parse markup, such as .

Methods

Name
Description

Properties

Name
Description

See Also

  • : Parses a line of text, and produces a containing the results.

public struct MarkupAttribute

ToString()

Length

Gets the number of text elements in the plain text that this attribute covers.

Name

Gets the name of the attribute.

Position

Gets the position in the plain text where this attribute begins.

Properties

Gets the properties associated with this attribute.

Dialogue
Dialogue.ParseMarkup(string)
MarkupParseResult

Name

Property in MarkupAttribute

Summary

Gets the name of the attribute.

public string Name { get; internal set; }

ToString()

Method in MarkupAttribute

Summary

public override string ToString()