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

VariableStorageBehaviour.SetValue Method

Stores a float as a Value.

public virtual void SetValue(string variableName, float floatValue)

Parameters

Parameter Description
string variableName The name to associate with this variable.
float floatValue The number to store.

Source

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