MarkupPalette

Class in Yarn.Unity

Inherits from UnityEngine.ScriptableObject

Summary

Represents a collection of marker names and colours.

public sealed class MarkupPalette : ScriptableObject

Remarks

This is intended to be used with the LinePresenter , and also be a sample of using the markup system.

Fields

NameDescription
BasicMarkersA list containing all the color markers defined in this palette.
CustomMarkers

Methods

NameDescription
ColorForMarker(string,Color)Determines the colour for a particular marker inside this palette.
PaletteForMarker(string,CustomMarker)

Structs

NameDescription
BasicMarkerContains information describing the formatting style of text within a named marker.
CustomMarker