Field in
The collection of colour markers inside this
public List<ColorMarker> ColourMarkers = new List<ColorMarker>();Struct in MarkupPalette
Inherits from System.ValueType
public struct ColorMarkerClass in Yarn.Unity
Inherits from UnityEngine.ScriptableObject
Represents a collection of marker names and colours.
public class MarkupPalette : ScriptableObjectThis is intended to be used with the LineView, and also be a sample of using the markup system.
The collection of colour markers inside this
Determines the colour for a particular marker inside this palette.
Field in
public Color Color;Field in
public string Marker;Method in MarkupPalette
Determines the colour for a particular marker inside this palette.
public bool ColorForMarker(string Marker, out Color colour)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.