Method in IVariableAccess
Given a variable name, attempts to fetch a value for the variable, either from storage, initial values found in Program , or by evaluating a smart variable found in Program .
string
variableName
The name of the variable.
T
result
If this method returns true
, this parameter will contain the fetched value.
T
The type of the value to return. The fetched value will be converted to this type, if possible.
true
if a value could be fetched; false
otherwise.
Method in IVariableAccess
Gets the kind of variable named name
.
string
name
The name of the variable.
A VariableKind enum representing the kind of the variable named name
.
Property in IVariableAccess
Gets or sets the Yarn Program that stores information about the initial values of variables, and is able to produce values for smart variables.
Interface in Yarn
Provides a mechanism for retrieving values.
Gets the kind of variable named name
.
Given a variable name, attempts to fetch a value for the variable, either from storage, initial values found in , or by evaluating a smart variable found in .
Gets or sets the Yarn that stores information about the initial values of variables, and is able to produce values for smart variables.
Gets or sets the object to use when evaluating smart variables.