public double ReadDouble() { double val = GameDataWriter.GetDouble(prefsIndex++.ToString()); //Debug.Log("Load value: " + val); return(val); }