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

BaseVariableStorage.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 YarnSpinner/Dialogue.cs, line 233.