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

VariableStorage.SetValue Method

Stores a string as a Value.

void SetValue(string variableName, string stringValue)

Parameters

Parameter Description
string variableName The name to associate with this variable.
string stringValue The string to store.

Source

Defined in YarnSpinner/Dialogue.cs, line 187.