Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Field in FormatMarker
Indicates whether the text associated with this marker should be bolded.
Class in Yarn.Unity
Inherits from UnityEngine.ScriptableObject
Represents a collection of marker names and colours.
This is intended to be used with the LineView, and also be a sample of using the markup system.
A list containing all the color markers defined in this palette.
Determines the colour for a particular marker inside this palette.
Gets formatting information. for a particular marker inside this palette.
Contains information describing the formatting style of text within a named marker.
Struct in MarkupPalette
Inherits from System.ValueType
Contains information describing the formatting style of text within a named marker.
Indicates whether the text associated with this marker should be bolded.
The color to use for text associated with this marker.
Indicates whether the text associated with this marker should be italicized.
The name of the marker which can be used in text to indicate specific formatting.
Indicates whether the text associated with this marker should have a strikethrough effect.
Indicates whether the text associated with this marker should be underlined.
Method in MarkupPalette
Determines the colour for a particular marker inside this palette.
string
Marker
The marker you want to get a colour for.
UnityEngine.Color
colour
The colour of the marker, or UnityEngine.Color.black
if it doesn't exist in the .
true
if the marker exists within this palette; false
otherwise.
Method in MarkupPalette
Gets formatting information. for a particular marker inside this palette.
string
markerName
The marker you want to get formatting information for.
palette
The for the given marker name, or a default format if a marker named markerName
was not found.
true
if the marker exists within this palette; false
otherwise.