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