# IGeneratedVariableStorage

Interface in [Yarn.Unity](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.unity)

## Summary

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

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

## Remarks

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