Struct in Yarn.Markup
Inherits from System.ValueType
System.ValueType
The result of parsing a line of marked-up text.
public struct MarkupParseResult
You do not create instances of this struct yourself. It is created by objects that can parse markup, such as Dialogue .
Attributes
The list of MarkupAttribute s in this parse result.
Text
The original text, with all parsed markers removed.
DeleteRange(MarkupAttribute)
Deletes an attribute from this markup.
TextForAttribute(MarkupAttribute)
Returns the substring of Text covered by attribute Position and Length properties.
attribute
TryGetAttributeWithName(string,MarkupAttribute)
Gets the first attribute with the specified name, if present.
Dialogue.ParseMarkup(string): Parses a line of text, and produces a MarkupParseResult containing the results.
Last updated 3 years ago
Was this helpful?