MemoryVariableStore

Class in Yarn

Inherits from System.Object

Summary

A simple concrete implementation of IVariableStorage that keeps all variables in memory.

public class MemoryVariableStore : IVariableStorage

Methods

NameDescription

Removes all variables from storage.

Stores a bool in this VariableStorage.

Stores a float in this VariableStorage.

Stores a string in this VariableStorage.

Retrieves a value of type T by name.

Last updated

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.