MarkupPalette
Class in Yarn.Unity
Inherits from UnityEngine.ScriptableObject
Summary
Represents a collection of marker names and colours.
public sealed class MarkupPalette : ScriptableObjectRemarks
This is intended to be used with the LinePresenter , and also be a sample of using the markup system.
Fields
| Name | Description |
|---|---|
| BasicMarkers | A list containing all the color markers defined in this palette. |
| CustomMarkers |
Methods
| Name | Description |
|---|---|
| ColorForMarker(string,Color) | Determines the colour for a particular marker inside this palette. |
| PaletteForMarker(string,CustomMarker) |
Structs
| Name | Description |
|---|---|
| BasicMarker | Contains information describing the formatting style of text within a named marker. |
| CustomMarker |