RunLineAsync(LocalizedLine,LineCancellationToken)
Method in CharacterColorView
Summary
Updates the text colour of Yarn.Unity.CharacterColorView.lineTexts
based on the character name of line
, if any.
Remarks
If the line doesn't have a character name, or if the character name is not found in Yarn.Unity.CharacterColorView.colorData
, Yarn.Unity.CharacterColorView.defaultColor
is used.
Parameters
Name
Description
The line to present.
A LineCancellationToken that represents whether the dialogue view should hurry it its presentation of the line, or stop showing the current line.
Returns
A task that completes when the dialogue view has finished showing the line to the user.
Last updated