Class SavingString
String data that auto save into player saving data
Constructors
SavingString(string, string, SavingLocation)
String data that auto save into player saving data
Declaration
public SavingString(string key, string 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 string StringToValue(string str)
Overrides
ValueToString(string)
Convert given value into string data
Declaration
protected override string ValueToString(string value)