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

VariableStorageBehaviour.SetValue Method

Stores a string as a Value.

public virtual 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 Unity/Assets/YarnSpinner/Scripts/DialogueRunner.cs, line 1191.