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