InMemoryVariableStorage
Class in Yarn.Unity
Inherits from VariableStorageBehaviour
Summary
A simple implementation of VariableStorageBehaviour.
Remarks
This class stores variables in memory, and is erased when the game exits.
This class also has basic serialization and save/load example functions.
You can also enumerate over the variables by using a foreach
loop:
Fields
Name
Description
Methods
Name
Description
Removes all variables from storage.
returns a boolean value representing if the particular variable is inside the variable storage
Retrieves a Yarn.Value
by name.
Last updated