MarkupParseResult

Struct in Yarn.Markup

Inherits from System.ValueType

Summary

The result of parsing a line of marked-up text.

public struct MarkupParseResult

Remarks

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

Fields

NameDescription

The list of MarkupAttribute s in this parse result.

The original text, with all parsed markers removed.

Methods

NameDescription

Deletes an attribute from this markup.

Returns the substring of Text covered by attribute Position and Length properties.

Gets the first attribute with the specified name, if present.

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.