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

VariableStorageBehaviour.SetValue Method

Stores a bool as a Value.

public virtual void SetValue(string variableName, bool boolValue)

Parameters

Parameter Description
string variableName The name to associate with this variable.
bool boolValue The boolean value to store.

Source

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