Method Set
Set(string, string, int, bool)
Stores the specified value using the specified unique key.
public void Set(string prefix, string key, int value, bool persist = false)
Parameters
prefixstringThe storage prefix/group.
keystringThe storage key.
valueintThe value to store.
persistboolSet to true to include this value when the object is serialized.
Set(string, string, float, bool)
Stores the specified value using the specified unique key.
public void Set(string prefix, string key, float value, bool persist = false)
Parameters
prefixstringThe storage prefix/group.
keystringThe storage key.
valuefloatThe value to store.
persistboolSet to true to include this value when the object is serialized.
Set(string, string, string, bool)
Stores the specified value using the specified unique key.
public void Set(string prefix, string key, string value, bool persist = false)