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

VariableStorageBehaviour.GetValue Method

Retrieves a Value by name.

public abstract Value GetValue(string variableName)

Parameters

Parameter Description
string variableName The name of the variable to retrieve the value of.

Return Type

Value: The Value. If a variable by the name of variableName is not present, returns a value representing null.

Source

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