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 LineParser .
Methods
Creates a new MarkupAttribute based on the current instance whose Position is shifted towards the end of the string by shift
characters.
Gets a boolean property named name
from this attribute, if present.
Gets an integer property named name
from this attribute, if present.
Gets a float property named name
from this attribute, if present.
Gets a string property named name
from this attribute, if present.
Gets a property named name
from this attribute, if present.
Properties
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
Yarn.Markup.LineParser.ParseString(System.String,System.String,System.Boolean,System.Boolean,System.Boolean):
Last updated
Was this helpful?