public bool GetValue(string key, out float value) { byte[] data; if (mStorage.GetData(key, out data)) { value = SaveableFloat.Deserialize(0, data); return(true); } value = default(float); return(false); }
public bool SetValue(string key, float value) { return(mStorage.AddData(key, SaveableFloat.Serialize(value))); }