VariableStorageBehaviour
Summary
public abstract class VariableStorageBehaviour : MonoBehaviour, Yarn.IVariableStorageRemarks
Methods
Name
Description
Properties
Name
Description
Last updated
Was this helpful?
Class in Yarn.Unity
Inherits from UnityEngine.MonoBehaviour
A UnityEngine.MonoBehaviour that a DialogueRunner uses to store and retrieve variables.
public abstract class VariableStorageBehaviour : MonoBehaviour, Yarn.IVariableStorageThis abstract class inherits from UnityEngine.MonoBehaviour , which means that subclasses of this class can be attached to UnityEngine.GameObject s.
Registers a delegate that will be called when any variable is modified.
Registers a delegate that will be called when the variable variableName is modified.
Returns a boolean value representing if a particular variable is inside the variable storage.
Provides a unified interface for exporting all variables. Intended to be a point for custom saving, editors, etc.
Provides a unified interface for loading many variables all at once. Will override anything already in the variable storage.
Last updated
Was this helpful?
Was this helpful?
