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 you want to get a colour for.

UnityEngine.Color colour

The colour of the marker, or UnityEngine.Color.black if it doesn't exist in the MarkupPalette .

Returns

true if the marker exists within this palette; false otherwise.

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.