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

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

Gets the name of the attribute.

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

Gets the properties associated with this attribute.

See Also

Last updated

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.