Class in Yarn
Inherits from System.Object
System.Object
A simple concrete implementation of IVariableStorage that keeps all variables in memory.
public class MemoryVariableStore : IVariableStorage
Clear()
Removes all variables from storage.
SetValue(string,bool)
Stores a bool in this VariableStorage.
bool
SetValue(string,float)
Stores a float in this VariableStorage.
float
SetValue(string,string)
Stores a string in this VariableStorage.
string
TryGetValue(string,T)
Retrieves a value of type T by name.
T
Last updated 2 years ago
Was this helpful?