MarkupPalette

Class in Yarn.Unity

Inherits from UnityEngine.ScriptableObject

Summary

Represents a collection of marker names and colours.

public class MarkupPalette : ScriptableObject

Remarks

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

Fields

Name
Description

A list containing all the color markers defined in this palette.

Methods

Name
Description

Determines the colour for a particular marker inside this palette.

Gets formatting information. for a particular marker inside this palette.

Structs

Name
Description

Contains information describing the formatting style of text within a named marker.

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.