Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Method in VariableStorageBehaviour
Provides a unified interface for loading many variables all at once. Will override anything already in the variable storage.
Name | Description |
---|---|
bool
clear
Should the load also wipe the storage. Defaults to true so all existing variables will be cleared.
System.Collections.Generic.Dictionary<string, float>
floats
System.Collections.Generic.Dictionary<string, string>
strings
System.Collections.Generic.Dictionary<string, bool>
bools
Method in VariableStorageBehaviour
Provides a unified interface for exporting all variables. Intended to be a point for custom saving, editors, etc.
Class in Yarn.Unity
Inherits from UnityEngine.MonoBehaviour
A UnityEngine.MonoBehaviour
that a DialogueRunner uses to store and retrieve variables.
This abstract class inherits from UnityEngine.MonoBehaviour
, which means that subclasses of this class can be attached to UnityEngine.GameObject
s.
Name | Description |
---|---|
Method in VariableStorageBehaviour
Returns a boolean value representing if a particular variable is inside the variable storage.
Name | Description |
---|---|
true
if this variable storage contains a value for the variable named variableName
; false
otherwise.
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.
string
variableName
bool
boolValue
string
variableName
float
floatValue
string
variableName
The name of the variable to check for.
string
variableName
string
stringValue
string
variableName
T
result