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

MemoryVariableStore.GetValue Method

Retrieves a Value by name.

public override 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 YarnSpinner/Dialogue.cs, line 279.