This site is for Yarn Spinner v1, and won't be updated. Go to the current site.

DialogueRunner.AddStringTable Method

Adds entries to the DialogueRunner’s combined string table.

public void AddStringTable(IDictionary<string, StringInfo> stringTable)

Remarks

This method may be used to directly add StringInfo entries into the combined string table, instead of accessing them via a YarnProgram.

Parameters

Parameter Description
StringInfo} stringTable A dictionary mapping string IDs to StringInfo values.

Source

Defined in Unity/Assets/YarnSpinner/Scripts/DialogueRunner.cs, line 213.