MemoryVariableStore
Last updated
Was this helpful?
Last updated
Was this helpful?
Class in Yarn
Inherits from System.Object
A simple concrete implementation of IVariableStorage that keeps all variables in memory.
public class MemoryVariableStore : IVariableStorage
Removes all variables from storage.
Gets the kind of variable named name
.
Stores a bool
in this VariableStorage.
Stores a float
in this VariableStorage.
Stores a string
in this VariableStorage.
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.