Class SavingBool
Boolean data that auto save into player saving data
Constructors
SavingBool(string, bool, SavingLocation)
Boolean data that auto save into player saving data
Declaration
public SavingBool(string key, bool defaultValue, SavingLocation location)
Parameters
Type | Name | Description |
---|---|---|
string | key | Unique key to identify this data |
SavingLocation | location | Set to "global" if this data shares between all saving slots |
Methods
StringToValue(string)
Convert given string into the value
Declaration
protected override bool StringToValue(string str)
Overrides
ValueToString(bool)
Convert given value into string data
Declaration
protected override string ValueToString(bool value)