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

NameDescription

string Marker

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

UnityEngine.Color colour

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

Returns

True if the marker exists within this palette.

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.