//merges loaded bytearray with old save private void ProcessCloudData(byte[] cloudData) { if (cloudData == null) { Debug.Log("No data saved to the cloud yet..."); return; } Debug.Log("Decoding cloud data from bytes."); string progress = FromBytes(cloudData); Debug.Log("Merging with existing game progress."); Debug.Log("Cloud\t + data read is" + progress); if (progress == "1") { print("progess"); GetComponent <ItemManager> ().ItemWasBought(); PlayerPrefs.SetInt("JustInstalled", 1); // _sm.GetLoadData (); } _sm.GetLoadData(); }