Skip to content
NebelFox edited this page Feb 19, 2022 · 3 revisions

In short, a Style defines how the output looks and how the input is interpreted.

You can set the style for a box via BoxBuilder.Style method, that accepts a Style instance.
Alternatively, a IReadOnlyDictionary could be used as the argument. It's just for a convenience, as it creates a style instance from the given dictionary.

new BoxBuilder()
    /*...*/
   .Style(new Dictionary<string, string>
    {
        ["dialogue.greeting"] = "Hi there!",
        ["dialogue.farewell"] = "See you soon!"
    })
   .Build()
   .StartDialogue();

List of the all available aspects could be found here!

Clone this wiki locally