Name | Description |
---|---|
Method in
string
variableName
The name to associate with this variable.
bool
boolValue
The boolean value to store.
Interface in Yarn
Provides a mechanism for storing and retrieving instances of the Yarn.Value
class.
Name | Description |
---|---|
Name | Description |
---|---|
Method in
Name | Description |
---|
Method in
Name | Description |
---|
Name | Description |
---|
string
variableName
The name to associate with this variable.
float
floatValue
The number to store.
Removes all variables from storage.
Stores a bool
in this VariableStorage.
Stores a float
in this VariableStorage.
Stores a string
in this VariableStorage.
Retrieves a value of type T
by name.
| The name to associate with this variable. |
| The string to store. |
| The name of the variable to retrieve the value of. |
| On return, if this method returned true, contains the retrieved value. If this method returned false, contains the default value of |
T | The type of the variable to retrieve. |