Method in VariableStorageBehaviour
public abstract void SetValue(string variableName, float floatValue);string variableName
float floatValue
Method in
public abstract void Clear();Method in VariableStorageBehaviour
Returns a boolean value representing if a particular variable is inside the variable storage.
string variableName
The name of the variable to check for.
true if this variable storage contains a value for the variable named variableName ; false otherwise.
public abstract bool Contains(string variableName);Method in VariableStorageBehaviour
public abstract bool TryGetValue<T>(string variableName, out T result);string variableName
Method in
T result
public abstract void SetValue(string variableName, string stringValue);string variableName
string stringValue
Method in VariableStorageBehaviour
public abstract void SetValue(string variableName, bool boolValue);string variableName
bool boolValue
Class in Yarn.Unity
Inherits from MonoBehaviour
A MonoBehaviour that a DialogueRunner uses to store and retrieve variables.
public abstract class VariableStorageBehaviour : MonoBehaviour, Yarn.IVariableStorageThis abstract class inherits from MonoBehaviour , which means that subclasses of this class can be attached to GameObject s.
Returns a boolean value representing if a particular variable is inside the variable storage.