All pages
Powered by GitBook
1 of 6

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

ColourMarkers

Field in

The collection of colour markers inside this

public List<ColorMarker> ColourMarkers = new List<ColorMarker>();

Summary

MarkupPalette

ColorMarker

Struct in MarkupPalette

Inherits from System.ValueType

Summary

public struct ColorMarker

Fields

Name
Description

Color
Marker

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
Name
Description
Name
Description

The collection of colour markers inside this

Determines the colour for a particular marker inside this palette.

Methods

Structs

ColourMarkers
ColorForMarker(string,Color)
ColorMarker

Color

Field in

public Color Color;

Summary

ColorMarker

Marker

Field in

public string Marker;

Summary

ColorMarker

ColorForMarker(string,Color)

Method in MarkupPalette

Summary

Determines the colour for a particular marker inside this palette.

public bool ColorForMarker(string Marker, out Color colour)

Parameters

Name
Description

string Marker

The marker of which you are covetous of it's colour.

True if the marker exists within this palette.

UnityEngine.Color colour

The colour of the marker, or black if it doesn't exist.

Returns