Yarn Spinner
2.2 (Current)
Search…
⌃K
Links

MarkupAttribute

Struct in Yarn.Markup
Inherits from System.ValueType

Summary

Represents a range of text in a marked-up string.
public struct MarkupAttribute

Remarks

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

Methods

Name
Description

Properties

Name
Description
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.
Gets the properties associated with this attribute.

See Also