> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.unity/yarn.unity.igeneratedvariablestorage.md).

# IGeneratedVariableStorage

Interface in [Yarn.Unity](/3.1/api/csharp/yarn.unity.md)

## Summary

An interface that works with [GeneratedVariableStorageExtensions](/3.1/api/csharp/yarn.unity/yarn.unity.generatedvariablestorageextensions.md) to add helper methods used by generated variable storage classes.

```csharp
public interface IGeneratedVariableStorage : Yarn.IVariableStorage
```

## Remarks

[IVariableStorage](/3.1/api/csharp/yarn/yarn.ivariablestorage.md) classes that implement this interface are extended with the methods found in [GeneratedVariableStorageExtensions](/3.1/api/csharp/yarn.unity/yarn.unity.generatedvariablestorageextensions.md) . This interface is intended to be used only with classes in source code that was generated by Yarn Spinner.
