BaseVariableStorage Class
An abstract class that implements convenience methods for
converting values to instances of Value.
public abstract class BaseVariableStorage : VariableStorage
Remarks
If you subclass this, you only have to implement SetValue(String, Value), GetValue(String) and Clear().
Methods
| Name | Description |
|---|---|
| Clear() | Removes all variables from storage. |
| GetValue(String) | Retrieves a Value by name. |
| SetValue(String, Boolean) | Stores a bool as a Value. |
| SetValue(String, Single) | Stores a float as a Value. |
| SetValue(String, String) | Stores a string as a Value. |
| SetValue(String, Value) | Stores a Value. |
Source
Defined in YarnSpinner/Dialogue.cs, line 230.