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

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