public void Write(double value) { //Debug.Log("Save value: " + value); GameDataWriter.SetDouble(prefsIndex++.ToString(), value); }