IVariableStorage
Provides a mechanism for storing values.
public interface IVariableStorage : IVariableAccessImplements Yarn.IVariableAccess
#Methods
#Clear()
Removes all variables from storage.
void Clear();#SetValue(string, bool)
Stores a
bool in this VariableStorage.void SetValue(string variableName, bool boolValue);Parameters
variableNamestringThe name to associate with this variable.boolValueboolThe boolean value to store.
#SetValue(string, float)
Stores a
float in this VariableStorage.void SetValue(string variableName, float floatValue);Parameters
variableNamestringThe name to associate with this variable.floatValuefloatThe number to store.
#SetValue(string, string)
Stores a
string in this VariableStorage.void SetValue(string variableName, string stringValue);Parameters
variableNamestringThe name to associate with this variable.stringValuestringThe string to store.
Generated from Yarn Spinner for Unity 3.3.