private void OnSavedGamePicked(string data) { string[] storeData; storeData = data.Split(AndroidNative.DATA_SPLITTER [0]); GP_SpanshotLoadResult result = new GP_SpanshotLoadResult(storeData [0]); if (result.isSuccess) { string Title = storeData [1]; long LastModifiedTimestamp = System.Convert.ToInt64(storeData [2]); string Description = storeData [3]; string CoverImageUrl = storeData [4]; byte[] decodedFromBase64 = System.Convert.FromBase64String(storeData [5]); GP_Snapshot Snapshot = new GP_Snapshot(); Snapshot.meta.Title = Title; Snapshot.meta.Description = Description; Snapshot.meta.CoverImageUrl = CoverImageUrl; Snapshot.meta.LastModifiedTimestamp = LastModifiedTimestamp; Snapshot.bytes = decodedFromBase64; Snapshot.stringData = GetString(decodedFromBase64); result.SetSnapShot(Snapshot); } dispatch(GAME_SAVE_LOADED, result); ActionGameSaveLoaded(result); }
private void OnSavedGameSaveResult(string data) { Debug.Log("SavedGamesManager: OnSavedGameSaveResult"); string[] storeData; storeData = data.Split(AndroidNative.DATA_SPLITTER [0]); GP_SpanshotLoadResult result = new GP_SpanshotLoadResult(storeData [0]); if (result.isSuccess) { string Title = storeData [1]; long LastModifiedTimestamp = System.Convert.ToInt64(storeData [2]); string Description = storeData [3]; string CoverImageUrl = storeData [4]; long TotalPlayedTime = System.Convert.ToInt64(storeData [5]); byte[] decodedFromBase64 = System.Convert.FromBase64String(storeData [6]); GP_Snapshot Snapshot = new GP_Snapshot(); Snapshot.meta.Title = Title; Snapshot.meta.Description = Description; Snapshot.meta.CoverImageUrl = CoverImageUrl; Snapshot.meta.LastModifiedTimestamp = LastModifiedTimestamp; Snapshot.meta.TotalPlayedTime = TotalPlayedTime; Snapshot.bytes = decodedFromBase64; Snapshot.stringData = GetString(decodedFromBase64); result.SetSnapShot(Snapshot); } ActionGameSaveResult(result); }
//Save Game void ActionGameSaveLoaded(GP_SpanshotLoadResult result) { GooglePlaySavedGamesManager.ActionGameSaveLoaded -= ActionGameSaveLoaded; Debug.Log("ActionGameSaveLoaded: " + result.Message); if (result.IsSucceeded) { Debug.Log("Snapshot.Title: " + result.Snapshot.meta.Title); Debug.Log("Snapshot.Description: " + result.Snapshot.meta.Description); Debug.Log("Snapshot.CoverImageUrl): " + result.Snapshot.meta.CoverImageUrl); Debug.Log("Snapshot.LastModifiedTimestamp: " + result.Snapshot.meta.LastModifiedTimestamp); Debug.Log("Snapshot.stringData: " + result.Snapshot.stringData); Debug.Log("Snapshot.bytes.Length: " + result.Snapshot.bytes.Length); if (loadDataCompletedEvent != null) { loadDataCompletedEvent(result.Snapshot.stringData); } } else { if (loadDataCompletedEvent != null) { loadDataCompletedEvent(""); } } }
private void ActionGameSaveResult(GP_SpanshotLoadResult result) { GooglePlaySavedGamesManager.ActionGameSaveResult -= ActionGameSaveResult; Debug.Log("ActionGameSaveResult: " + result.Message); if (saveDataCompletedEvent != null) { saveDataCompletedEvent(result.IsSucceeded); } }
private void ActionGameSaveResult(GP_SpanshotLoadResult result) { GooglePlaySavedGamesManager.ActionGameSaveResult -= ActionGameSaveResult; Debug.Log("ActionGameSaveResult: " + result.Message); if (result.IsSucceeded) { SA_StatusBar.text = "Games Saved: " + result.Snapshot.meta.Title; } else { SA_StatusBar.text = "Games Save Failed"; } AndroidMessage.Create("Game Save Result", SA_StatusBar.text); }
private void ActionGameSaveResult(GP_SpanshotLoadResult result) { GooglePlaySavedGamesManager.ActionGameSaveResult -= ActionGameSaveResult; Debug.Log("ActionGameSaveResult: " + result.Message); AndroidNativeUtility.HidePreloader(); if (result.IsSucceeded) { AndroidMessage.Create("Game saved", "Data: " + result.Snapshot.stringData); } else { Debug.Log("ActionGameSaveResult Error : Games Save Failed"); AndroidMessage.Create("\"City Car Run\" Error", "Game Data Save Failed"); } }
private void ActionGameSaveLoaded(GP_SpanshotLoadResult result) { Debug.Log("ActionGameSaveLoaded: " + result.Message); if (result.IsSucceeded) { Debug.Log("Snapshot.Title: " + result.Snapshot.meta.Title); Debug.Log("Snapshot.Description: " + result.Snapshot.meta.Description); Debug.Log("Snapshot.CoverImageUrl): " + result.Snapshot.meta.CoverImageUrl); Debug.Log("Snapshot.LastModifiedTimestamp: " + result.Snapshot.meta.LastModifiedTimestamp); Debug.Log("Snapshot.stringData: " + result.Snapshot.stringData); Debug.Log("Snapshot.bytes.Length: " + result.Snapshot.bytes.Length); AndroidNativeUtility.HidePreloader(); AndroidMessage.Create("Snapshot Loaded", "Data: " + result.Snapshot.stringData); } }
private void ActionGameSaveLoaded(GP_SpanshotLoadResult result) { Debug.Log("ActionGameSaveLoaded: " + result.message); if (result.isSuccess) { Debug.Log("Snapshot.Title: " + result.Snapshot.meta.Title); Debug.Log("Snapshot.Description: " + result.Snapshot.meta.Description); Debug.Log("Snapshot.CoverImageUrl): " + result.Snapshot.meta.CoverImageUrl); Debug.Log("Snapshot.LastModifiedTimestamp: " + result.Snapshot.meta.LastModifiedTimestamp); Debug.Log("Snapshot.stringData: " + result.Snapshot.stringData); Debug.Log("Snapshot.bytes.Length: " + result.Snapshot.bytes.Length); AndroidMessage.Create("Snapshot Loaded", "Data: " + result.Snapshot.stringData); } SA_StatusBar.text = "Games Loaded: " + result.message; }
private void ActionGameSaveLoaded(GP_SpanshotLoadResult result) { Debug.Log("ActionGameSaveLoaded: " + result.message); if(result.isSuccess) { Debug.Log("Snapshot.Title: " + result.Snapshot.meta.Title); Debug.Log("Snapshot.Description: " + result.Snapshot.meta.Description); Debug.Log("Snapshot.CoverImageUrl): " + result.Snapshot.meta.CoverImageUrl); Debug.Log("Snapshot.LastModifiedTimestamp: " + result.Snapshot.meta.LastModifiedTimestamp); Debug.Log("Snapshot.stringData: " + result.Snapshot.stringData); Debug.Log("Snapshot.bytes.Length: " + result.Snapshot.bytes.Length); AndroidMessage.Create("Snapshot Loaded", "Data: " + result.Snapshot.stringData); } SA_StatusBar.text = "Games Loaded: " + result.message; }
private void ActionGameSaveResult (GP_SpanshotLoadResult result) { GooglePlaySavedGamesManager.ActionGameSaveResult -= ActionGameSaveResult; Debug.Log("ActionGameSaveResult: " + result.message); if(result.isSuccess) { SA_StatusBar.text = "Games Saved: " + result.Snapshot.meta.Title; } else { SA_StatusBar.text = "Games Save Failed"; } AndroidMessage.Create("Game Save Result", SA_StatusBar.text); }
private void ActionGameSaveResult (GP_SpanshotLoadResult result) { GooglePlaySavedGamesManager.ActionGameSaveResult -= ActionGameSaveResult; Debug.Log("ActionGameSaveResult: " + result.Message); if(result.IsSucceeded) { AndroidToast.ShowToastNotification ("Saved game", 1); //SA_StatusBar.text = "Games Saved: " + result.Snapshot.meta.Title; } else { AndroidToast.ShowToastNotification ("Cant'n Saved game", 1); //SA_StatusBar.text = "Games Save Failed"; } //AndroidMessage.Create("Zombie Cross", "Saved game"); }
private void ActionGameSaveLoaded (GP_SpanshotLoadResult result) { Debug.Log ("ActionGameSaveLoaded: " + result.Message); if (result.IsSucceeded) { Debug.Log ("Snapshot.Title: " + result.Snapshot.meta.Title); Debug.Log ("Snapshot.Description: " + result.Snapshot.meta.Description); Debug.Log ("Snapshot.CoverImageUrl): " + result.Snapshot.meta.CoverImageUrl); Debug.Log ("Snapshot.LastModifiedTimestamp: " + result.Snapshot.meta.LastModifiedTimestamp); Debug.Log ("Snapshot.stringData: " + result.Snapshot.stringData); Debug.Log ("Snapshot.bytes.Length: " + result.Snapshot.bytes.Length); string[] values = result.Snapshot.stringData.Split (';'); for (int i = 0; i < values.Length; i++) { values [i] = values [i].Trim (); } int world_playable_0_0 = System.Convert.ToInt32(values[0]); int world_purchased_0_0 = System.Convert.ToInt32(values[1]); int star_score_in_this_world_0_0 = System.Convert.ToInt32(values[2]); int world_playable_0_1 = System.Convert.ToInt32(values[3]); int world_purchased_0_1 = System.Convert.ToInt32(values[4]); int star_score_in_this_world_0_1 = System.Convert.ToInt32(values[5]); int world_playable_0_2=System.Convert.ToInt32(values[6]); int world_purchased_0_2 = System.Convert.ToInt32(values[7]); int star_score_in_this_world_0_2=System.Convert.ToInt32(values[8]); int stage_playable_0_00=System.Convert.ToInt32(values[9]); int stage_solved_0_00=System.Convert.ToInt32(values[10]); int dot_tail_turn_on_0_00=System.Convert.ToInt32(values[11]); int stage_stars_score_0_00=System.Convert.ToInt32(values[12]); int best_int_score_in_this_stage_0_00=System.Convert.ToInt32(values[13]); int stage_playable_0_01 =System.Convert.ToInt32(values[14]); int stage_solved_0_01 = System.Convert.ToInt32(values[15]); int dot_tail_turn_on_0_01 = System.Convert.ToInt32(values[16]); int stage_stars_score_0_01 = System.Convert.ToInt32(values[17]); int best_int_score_in_this_stage_0_01 = System.Convert.ToInt32(values[18]); int stage_playable_0_02 = System.Convert.ToInt32(values[19]); int stage_solved_0_02 = System.Convert.ToInt32(values[20]); int dot_tail_turn_on_0_02=System.Convert.ToInt32(values[21]); int stage_stars_score_0_02= System.Convert.ToInt32(values[22]); int best_int_score_in_this_stage_0_02=System.Convert.ToInt32(values[23]); int stage_playable_0_03 =System.Convert.ToInt32(values[24]); int stage_solved_0_03=System.Convert.ToInt32(values[25]); int dot_tail_turn_on_0_03=System.Convert.ToInt32(values[26]); int stage_stars_score_0_03=System.Convert.ToInt32(values[27]); int best_int_score_in_this_stage_0_03=System.Convert.ToInt32(values[28]); int stage_playable_0_04=System.Convert.ToInt32(values[29]); int stage_solved__04 =System.Convert.ToInt32(values[30]); int dot_tail_turn_on_0_04=System.Convert.ToInt32(values[31]); int stage_stars_score_0_04=System.Convert.ToInt32(values[32]); int best_int_score_in_this_stage_0_04=System.Convert.ToInt32(values[33]); int stage_playable_0_05=System.Convert.ToInt32(values[34]); int stage_solved_0_05=System.Convert.ToInt32(values[35]); int dot_tail_turn_on_0_05=System.Convert.ToInt32(values[36]); int stage_stars_score_0_05=System.Convert.ToInt32(values[37]); int best_int_score_in_this_stage_0_05=System.Convert.ToInt32(values[38]); int stage_playable_0_06=System.Convert.ToInt32(values[39]); int stage_solved_0_06=System.Convert.ToInt32(values[40]); int dot_tail_turn_on_0_06=System.Convert.ToInt32(values[41]); int stage_stars_score_0_06 = System.Convert.ToInt32(values[42]); int best_int_score_in_this_stage_0_06=System.Convert.ToInt32(values[43]); int stage_playable_0_07=System.Convert.ToInt32(values[44]); int stage_solved_0_07=System.Convert.ToInt32(values[45]); int dot_tail_turn_on_0_07=System.Convert.ToInt32(values[46]); int stage_stars_score_0_07=System.Convert.ToInt32(values[47]); int best_int_score_in_this_stage_0_07=System.Convert.ToInt32(values[48]); int stage_playable_0_08=System.Convert.ToInt32(values[49]); int stage_solved_0_08=System.Convert.ToInt32(values[50]); int dot_tail_turn_on_0_08=System.Convert.ToInt32(values[51]); int stage_stars_score_0_08=System.Convert.ToInt32(values[52]); int best_int_score_in_this_stage_0_08=System.Convert.ToInt32(values[53]); int stage_playable_0_09=System.Convert.ToInt32(values[54]); int stage_solved_0_09=System.Convert.ToInt32(values[55]); int dot_tail_turn_on_0_09=System.Convert.ToInt32(values[56]); int stage_stars_score_0_09=System.Convert.ToInt32(values[57]); int best_int_score_in_this_stage_0_09=System.Convert.ToInt32(values[58]); int stage_playable_0_010=System.Convert.ToInt32(values[59]); int stage_solved_0_010=System.Convert.ToInt32(values[60]); int dot_tail_turn_on_0_010=System.Convert.ToInt32(values[61]); int stage_stars_score_0_010=System.Convert.ToInt32(values[62]); int best_int_score_in_this_stage_0_010=System.Convert.ToInt32(values[63]); int stage_playable_0_011=System.Convert.ToInt32(values[64]); int stage_solved_0_011=System.Convert.ToInt32(values[65]); int dot_tail_turn_on_0_011=System.Convert.ToInt32(values[66]); int stage_stars_score_0_011=System.Convert.ToInt32(values[67]); int best_int_score_in_this_stage_0_011=System.Convert.ToInt32(values[68]); int stage_playable_0_012=System.Convert.ToInt32(values[69]); int stage_solved_0_012=System.Convert.ToInt32(values[70]); int dot_tail_turn_on_0_012=System.Convert.ToInt32(values[71]); int stage_stars_score_0_012=System.Convert.ToInt32(values[72]); int best_int_score_in_this_stage_0_012=System.Convert.ToInt32(values[73]); int stage_playable_0_013=System.Convert.ToInt32(values[74]); int stage_solved_0_013=System.Convert.ToInt32(values[75]); int dot_tail_turn_on_0_013=System.Convert.ToInt32(values[76]); int stage_stars_score_0_013=System.Convert.ToInt32(values[77]); int best_int_score_in_this_stage_0_013=System.Convert.ToInt32(values[78]); int stage_playable_0_014=System.Convert.ToInt32(values[79]); int stage_solved_0_014=System.Convert.ToInt32(values[80]); int dot_tail_turn_on_0_014=System.Convert.ToInt32(values[81]); int stage_stars_score_0_014=System.Convert.ToInt32(values[82]); int best_int_score_in_this_stage_0_014=System.Convert.ToInt32(values[83]); int stage_playable_0_10=System.Convert.ToInt32(values[84]); int stage_solved_0_10=System.Convert.ToInt32(values[85]); int dot_tail_turn_on_0_10=System.Convert.ToInt32(values[86]); int stage_stars_score_0_10=System.Convert.ToInt32(values[87]); int best_int_score_in_this_stage_0_10=System.Convert.ToInt32(values[88]); int stage_playable_0_11=System.Convert.ToInt32(values[89]); int stage_solved_0_11=System.Convert.ToInt32(values[90]); int dot_tail_turn_on_0_11=System.Convert.ToInt32(values[91]); int stage_stars_score_0_11=System.Convert.ToInt32(values[92]); int best_int_score_in_this_stage_0_11=System.Convert.ToInt32(values[93]); int stage_playable_0_12=System.Convert.ToInt32(values[94]); int stage_solved_0_12=System.Convert.ToInt32(values[95]); int dot_tail_turn_on_0_12=System.Convert.ToInt32(values[96]); int stage_stars_score_0_12=System.Convert.ToInt32(values[97]); int best_int_score_in_this_stage_0_12=System.Convert.ToInt32(values[98]); int stage_playable_0_13=System.Convert.ToInt32(values[99]); int stage_solved_0_13=System.Convert.ToInt32(values[100]); int dot_tail_turn_on_0_13=System.Convert.ToInt32(values[101]); int stage_stars_score_0_13=System.Convert.ToInt32(values[102]); int best_int_score_in_this_stage_0_13=System.Convert.ToInt32(values[103]); int stage_playable_0_14=System.Convert.ToInt32(values[104]); int stage_solved_0_14=System.Convert.ToInt32(values[105]); int dot_tail_turn_on_0_14=System.Convert.ToInt32(values[106]); int stage_stars_score_0_14=System.Convert.ToInt32(values[107]); int best_int_score_in_this_stage_0_14=System.Convert.ToInt32(values[108]); int stage_playable_0_15=System.Convert.ToInt32(values[109]); int stage_solved_0_15=System.Convert.ToInt32(values[110]); int dot_tail_turn_on_0_15=System.Convert.ToInt32(values[111]); int stage_stars_score_0_15=System.Convert.ToInt32(values[112]); int best_int_score_in_this_stage_0_15=System.Convert.ToInt32(values[113]); int stage_playable_0_16=System.Convert.ToInt32(values[114]); int stage_solved_0_16=System.Convert.ToInt32(values[115]); int dot_tail_turn_on_0_16=System.Convert.ToInt32(values[116]); int stage_stars_score_0_16=System.Convert.ToInt32(values[117]); int best_int_score_in_this_stage_0_16=System.Convert.ToInt32(values[118]); int stage_playable_0_17=System.Convert.ToInt32(values[119]); int stage_solved_0_17=System.Convert.ToInt32(values[120]); int dot_tail_turn_on_0_17=System.Convert.ToInt32(values[121]); int stage_stars_score_0_17=System.Convert.ToInt32(values[122]); int best_int_score_in_this_stage_0_17=System.Convert.ToInt32(values[123]); int stage_playable_0_18=System.Convert.ToInt32(values[124]); int stage_solved_0_18=System.Convert.ToInt32(values[125]); int dot_tail_turn_on_0_18=System.Convert.ToInt32(values[126]); int stage_stars_score_0_18=System.Convert.ToInt32(values[127]); int best_int_score_in_this_stage_0_18=System.Convert.ToInt32(values[128]); int stage_playable_0_19=System.Convert.ToInt32(values[129]); int stage_solved_0_19=System.Convert.ToInt32(values[130]); int dot_tail_turn_on_0_19=System.Convert.ToInt32(values[131]); int stage_stars_score_0_19=System.Convert.ToInt32(values[132]); int best_int_score_in_this_stage_0_19=System.Convert.ToInt32(values[133]); int stage_playable_0_110=System.Convert.ToInt32(values[134]); int stage_solved_0_110=System.Convert.ToInt32(values[135]); int dot_tail_turn_on_0_110=System.Convert.ToInt32(values[136]); int stage_stars_score_0_110=System.Convert.ToInt32(values[137]); int best_int_score_in_this_stage_0_110=System.Convert.ToInt32(values[138]); int stage_playable_0_111=System.Convert.ToInt32(values[139]); int stage_solved_0_111=System.Convert.ToInt32(values[140]); int dot_tail_turn_on_0_111=System.Convert.ToInt32(values[141]); int stage_stars_score_0_111=System.Convert.ToInt32(values[142]); int best_int_score_in_this_stage_0_111=System.Convert.ToInt32(values[143]); int stage_playable_0_112=System.Convert.ToInt32(values[144]); int stage_solved_0_112=System.Convert.ToInt32(values[145]); int dot_tail_turn_on_0_112=System.Convert.ToInt32(values[146]); int stage_stars_score_0_112=System.Convert.ToInt32(values[147]); int best_int_score_in_this_stage_0_112=System.Convert.ToInt32(values[148]); int stage_playable_0_113=System.Convert.ToInt32(values[149]); int stage_solved_0_113=System.Convert.ToInt32(values[150]); int dot_tail_turn_on_0_113=System.Convert.ToInt32(values[151]); int stage_stars_score_0_113=System.Convert.ToInt32(values[152]); int best_int_score_in_this_stage_0_113=System.Convert.ToInt32(values[153]); int stage_playable_0_114=System.Convert.ToInt32(values[154]); int stage_solved_0_114=System.Convert.ToInt32(values[155]); int dot_tail_turn_on_0_114=System.Convert.ToInt32(values[156]); int stage_stars_score_0_114=System.Convert.ToInt32(values[157]); int best_int_score_in_this_stage_0_114=System.Convert.ToInt32(values[158]); int stage_playable_0_20=System.Convert.ToInt32(values[159]); int stage_solved_0_20=System.Convert.ToInt32(values[160]); int dot_tail_turn_on_0_20=System.Convert.ToInt32(values[161]); int stage_stars_score_0_20=System.Convert.ToInt32(values[162]); int best_int_score_in_this_stage_0_20=System.Convert.ToInt32(values[163]); int stage_playable_0_21=System.Convert.ToInt32(values[164]); int stage_solved_0_21=System.Convert.ToInt32(values[165]); int dot_tail_turn_on_0_21=System.Convert.ToInt32(values[166]); int stage_stars_score_0_21=System.Convert.ToInt32(values[167]); int best_int_score_in_this_stage_0_21=System.Convert.ToInt32(values[168]); int stage_playable_0_22=System.Convert.ToInt32(values[169]); int stage_solved_0_22=System.Convert.ToInt32(values[170]); int dot_tail_turn_on_0_22=System.Convert.ToInt32(values[171]); int stage_stars_score_0_22=System.Convert.ToInt32(values[172]); int best_int_score_in_this_stage_0_22=System.Convert.ToInt32(values[173]); int stage_playable_0_23=System.Convert.ToInt32(values[174]); int stage_solved_0_23=System.Convert.ToInt32(values[175]); int dot_tail_turn_on_0_23=System.Convert.ToInt32(values[176]); int stage_stars_score_0_23=System.Convert.ToInt32(values[177]); int best_int_score_in_this_stage_0_23=System.Convert.ToInt32(values[178]); int stage_playable_0_24=System.Convert.ToInt32(values[179]); int stage_solved_0_24=System.Convert.ToInt32(values[180]); int dot_tail_turn_on_0_24=System.Convert.ToInt32(values[181]); int stage_stars_score_0_24=System.Convert.ToInt32(values[182]); int best_int_score_in_this_stage_0_24=System.Convert.ToInt32(values[183]); int stage_playable_0_25=System.Convert.ToInt32(values[184]); int stage_solved_0_25=System.Convert.ToInt32(values[185]); int dot_tail_turn_on_0_25=System.Convert.ToInt32(values[186]); int stage_stars_score_0_25=System.Convert.ToInt32(values[187]); int best_int_score_in_this_stage_0_25=System.Convert.ToInt32(values[188]); int stage_playable_0_26=System.Convert.ToInt32(values[189]); int stage_solved_0_26=System.Convert.ToInt32(values[190]); int dot_tail_turn_on_0_26=System.Convert.ToInt32(values[191]); int stage_stars_score_0_26=System.Convert.ToInt32(values[192]); int best_int_score_in_this_stage_0_26=System.Convert.ToInt32(values[193]); int stage_playable_0_27=System.Convert.ToInt32(values[194]); int stage_solved_0_27=System.Convert.ToInt32(values[195]); int dot_tail_turn_on_0_27=System.Convert.ToInt32(values[196]); int stage_stars_score_0_27=System.Convert.ToInt32(values[197]); int best_int_score_in_this_stage_0_27=System.Convert.ToInt32(values[198]); int stage_playable_0_28=System.Convert.ToInt32(values[199]); int stage_solved_0_28=System.Convert.ToInt32(values[200]); int dot_tail_turn_on_0_28=System.Convert.ToInt32(values[201]); int stage_stars_score_0_28=System.Convert.ToInt32(values[202]); int best_int_score_in_this_stage_0_28=System.Convert.ToInt32(values[203]); int stage_playable_0_29=System.Convert.ToInt32(values[204]); int stage_solved_0_29=System.Convert.ToInt32(values[205]); int dot_tail_turn_on_0_29=System.Convert.ToInt32(values[206]); int stage_stars_score_0_29=System.Convert.ToInt32(values[207]); int best_int_score_in_this_stage_0_29=System.Convert.ToInt32(values[208]); int stage_playable_0_210=System.Convert.ToInt32(values[209]); int stage_solved_0_210=System.Convert.ToInt32(values[210]); int dot_tail_turn_on_0_210=System.Convert.ToInt32(values[211]); int stage_stars_score_0_210=System.Convert.ToInt32(values[212]); int best_int_score_in_this_stage_0_210=System.Convert.ToInt32(values[213]); int stage_playable_0_211=System.Convert.ToInt32(values[214]); int stage_solved_0_211=System.Convert.ToInt32(values[215]); int dot_tail_turn_on_0_211=System.Convert.ToInt32(values[216]); int stage_stars_score_0_211=System.Convert.ToInt32(values[217]); int best_int_score_in_this_stage_0_211=System.Convert.ToInt32(values[218]); int stage_playable_0_212=System.Convert.ToInt32(values[219]); int stage_solved_0_212=System.Convert.ToInt32(values[220]); int dot_tail_turn_on_0_212=System.Convert.ToInt32(values[221]); int stage_stars_score_0_212=System.Convert.ToInt32(values[222]); int best_int_score_in_this_stage_0_212=System.Convert.ToInt32(values[223]); int stage_playable_0_213=System.Convert.ToInt32(values[224]); int stage_solved_0_213=System.Convert.ToInt32(values[225]); int dot_tail_turn_on_0_213=System.Convert.ToInt32(values[226]); int stage_stars_score_0_213=System.Convert.ToInt32(values[227]); int best_int_score_in_this_stage_0_213=System.Convert.ToInt32(values[228]); int stage_playable_0_214=System.Convert.ToInt32(values[229]); int stage_solved_0_214=System.Convert.ToInt32(values[230]); int dot_tail_turn_on_0_214=System.Convert.ToInt32(values[231]); int stage_stars_score_0_214=System.Convert.ToInt32(values[232]); int best_int_score_in_this_stage_0_214=System.Convert.ToInt32(values[233]); int incremental_item_current_level_0_0 = System.Convert.ToInt32(values[234]); int incremental_item_current_level_0_1 = System.Convert.ToInt32(values[235]); int incremental_item_current_level_0_2 = System.Convert.ToInt32(values[236]); int incremental_item_current_level_0_3 = System.Convert.ToInt32(values[237]); int incremental_item_current_level_0_4 = System.Convert.ToInt32(values[238]); int incremental_item_current_level_0_5 = System.Convert.ToInt32(values[239]); int incremental_item_current_level_0_6 = System.Convert.ToInt32(values[240]); int consumable_item_current_quantity_0_0 = System.Convert.ToInt32(values[241]); int consumable_item_current_quantity_0_1 = System.Convert.ToInt32(values[242]); int consumable_item_current_quantity_0_2 = System.Convert.ToInt32(values[243]); int consumable_item_current_quantity_0_3 = System.Convert.ToInt32(values[244]); int consumable_item_current_quantity_0_4 = System.Convert.ToInt32(values[245]); int consumable_item_current_quantity_0_5 = System.Convert.ToInt32(values[246]); int consumable_item_current_quantity_0_6 = System.Convert.ToInt32(values[247]); int consumable_item_current_quantity_0_7 = System.Convert.ToInt32(values[248]); int consumable_item_current_quantity_0_8 = System.Convert.ToInt32(values[249]); int consumable_item_current_quantity_0_9 = System.Convert.ToInt32(values[250]); int consumable_item_current_quantity_0_10 = System.Convert.ToInt32(values[251]); int consumable_item_current_quantity_0_11 = System.Convert.ToInt32(values[252]); int consumable_item_current_quantity_0_12 = System.Convert.ToInt32(values[253]); int consumable_item_current_quantity_0_13 = System.Convert.ToInt32(values[254]); int consumable_item_current_quantity_0_14 = System.Convert.ToInt32(values[255]); int consumable_item_current_quantity_0_15 = System.Convert.ToInt32(values[256]); int consumable_item_current_quantity_0_16 = System.Convert.ToInt32(values[257]); starts= System.Convert.ToInt32(values[258]); money = System.Convert.ToInt32(values[259]); lives = System.Convert.ToInt32(values[260]); stages= System.Convert.ToInt32(values[261]); best_score = System.Convert.ToInt32(values[262]); stage_progress= System.Convert.ToInt32(values[263]); world_progress= System.Convert.ToInt32(values[264]); //AndroidMessage.Create ("Snapshot Loaded", "Data: Starts: " + result.Snapshot.stringData); AndroidMessage.Create ("Loaded", "Data: money: " + values[259]+" lives: " +values[260] + " Purchased and Levels."); // string saveData = String.Format("{0};{1};{2};{3};{4};{5};{6}", stage, world, stages,starts,continues,money,lives); PlayerPrefs.SetInt ("profile_0_array_W0_world_unlocked", world_playable_0_0); PlayerPrefs.SetInt ("profile_0_array_W0_world_purchased", world_purchased_0_0); PlayerPrefs.SetInt ("profile_0_star_score_in_this_world", star_score_in_this_world_0_0); PlayerPrefs.SetInt ("profile_0_array_W1_world_unlocked", world_playable_0_1); PlayerPrefs.SetInt ("profile_0_array_W1_world_purchased", world_purchased_0_1); PlayerPrefs.SetInt ("profile_0_star_score_in_this_world", star_score_in_this_world_0_1); PlayerPrefs.SetInt ("profile_0_array_W2_world_unlocked", world_playable_0_2); PlayerPrefs.SetInt ("profile_0_array_W2_world_purchased", world_purchased_0_2); PlayerPrefs.SetInt ("profile_0_star_score_in_this_world", star_score_in_this_world_0_2); PlayerPrefs.SetInt ("profile_0_array_W0S0_stages_unlocked", stage_playable_0_00); PlayerPrefs.SetInt ("profile_0_array_W0S0_stage_solved", stage_solved_0_00); PlayerPrefs.SetInt ("profile_0_array_W0S0_dots", dot_tail_turn_on_0_00); PlayerPrefs.SetInt ("profile_0_array_W0S0_stage_stars_score", stage_stars_score_0_00); PlayerPrefs.SetInt ("profile_0_array_W0S0_stage_int_score", best_int_score_in_this_stage_0_00); PlayerPrefs.SetInt ("profile_0_array_W0S1_stages_unlocked", stage_playable_0_01); PlayerPrefs.SetInt ("profile_0_array_W0S1_stage_solved", stage_solved_0_01); PlayerPrefs.SetInt ("profile_0_array_W0S1_dots", dot_tail_turn_on_0_01); PlayerPrefs.SetInt ("profile_0_array_W0S1_stage_stars_score", stage_stars_score_0_01); PlayerPrefs.SetInt ("profile_0_array_W0S1_stage_int_score", best_int_score_in_this_stage_0_01); PlayerPrefs.SetInt ("profile_0_array_W0S2_stages_unlocked", stage_playable_0_02); PlayerPrefs.SetInt ("profile_0_array_W0S2_stage_solved", stage_solved_0_02); PlayerPrefs.SetInt ("profile_0_array_W0S2_dots", dot_tail_turn_on_0_02); PlayerPrefs.SetInt ("profile_0_array_W0S2_stage_stars_score", stage_stars_score_0_02); PlayerPrefs.SetInt ("profile_0_array_W0S2_stage_int_score", best_int_score_in_this_stage_0_02); PlayerPrefs.SetInt ("profile_0_array_W0S2_stages_unlocked", stage_playable_0_03); PlayerPrefs.SetInt ("profile_0_array_W0S3_stage_solved", stage_solved_0_03); PlayerPrefs.SetInt ("profile_0_array_W0S3_dots", dot_tail_turn_on_0_03); PlayerPrefs.SetInt ("profile_0_array_W0S3_stage_stars_score", stage_stars_score_0_03); PlayerPrefs.SetInt ("profile_0_array_W0S3_stage_int_score", best_int_score_in_this_stage_0_03); PlayerPrefs.SetInt ("profile_0_array_W0S4_stages_unlocked", stage_playable_0_04); PlayerPrefs.SetInt ("profile_0_array_W0S4_stage_solved", stage_solved__04); PlayerPrefs.SetInt ("profile_0_array_W0S4_dots", dot_tail_turn_on_0_04); PlayerPrefs.SetInt ("profile_0_array_W0S4_stage_stars_score", stage_stars_score_0_04); PlayerPrefs.SetInt ("profile_0_array_W0S4_stage_int_score", best_int_score_in_this_stage_0_04); PlayerPrefs.SetInt ("profile_0_array_W0S5_stages_unlocked", stage_playable_0_05); PlayerPrefs.SetInt ("profile_0_array_W0S5_stage_solved", stage_solved_0_05); PlayerPrefs.SetInt ("profile_0_array_W0S5_dots", dot_tail_turn_on_0_05); PlayerPrefs.SetInt ("profile_0_array_W0S5_stage_stars_score", stage_stars_score_0_05); PlayerPrefs.SetInt ("profile_0_array_W0S5_stage_int_score", best_int_score_in_this_stage_0_05); PlayerPrefs.SetInt ("profile_0_array_W0S6_stages_unlocked", stage_playable_0_06); PlayerPrefs.SetInt ("profile_0_array_W0S6_stage_solved", stage_solved_0_06); PlayerPrefs.SetInt ("profile_0_array_W0S6_dots", dot_tail_turn_on_0_06); PlayerPrefs.SetInt ("profile_0_array_W0S6_stage_stars_score", stage_stars_score_0_06); PlayerPrefs.SetInt ("profile_0_array_W0S6_stage_int_score", best_int_score_in_this_stage_0_06); PlayerPrefs.SetInt ("profile_0_array_W0S7_stages_unlocked", stage_playable_0_07); PlayerPrefs.SetInt ("profile_0_array_W0S7_stage_solved", stage_solved_0_07); PlayerPrefs.SetInt ("profile_0_array_W0S7_dots", dot_tail_turn_on_0_07); PlayerPrefs.SetInt ("profile_0_array_W0S7_stage_stars_score", stage_stars_score_0_07); PlayerPrefs.SetInt ("profile_0_array_W0S7_stage_int_score", best_int_score_in_this_stage_0_07); PlayerPrefs.SetInt ("profile_0_array_W0S8_stages_unlocked", stage_playable_0_08); PlayerPrefs.SetInt ("profile_0_array_W0S8_stage_solved", stage_solved_0_08); PlayerPrefs.SetInt ("profile_0_array_W0S8_dots", dot_tail_turn_on_0_08); PlayerPrefs.SetInt ("profile_0_array_W0S8_stage_stars_score", stage_stars_score_0_08); PlayerPrefs.SetInt ("profile_0_array_W0S8_stage_int_score", best_int_score_in_this_stage_0_08); PlayerPrefs.SetInt ("profile_0_array_W0S9_stages_unlocked", stage_playable_0_09); PlayerPrefs.SetInt ("profile_0_array_W0S9_stage_solved", stage_solved_0_09); PlayerPrefs.SetInt ("profile_0_array_W0S9_dots", dot_tail_turn_on_0_09); PlayerPrefs.SetInt ("profile_0_array_W0S9_stage_stars_score", stage_stars_score_0_09); PlayerPrefs.SetInt ("profile_0_array_W0S9_stage_int_score", best_int_score_in_this_stage_0_09); PlayerPrefs.SetInt ("profile_0_array_W0S10_stages_unlocked", stage_playable_0_010); PlayerPrefs.SetInt ("profile_0_array_W0S10_stage_solved", stage_solved_0_010); PlayerPrefs.SetInt ("profile_0_array_W0S10_dots", dot_tail_turn_on_0_010); PlayerPrefs.SetInt ("profile_0_array_W0S10_stage_stars_score", stage_stars_score_0_010); PlayerPrefs.SetInt ("profile_0_array_W0S10_stage_int_score", best_int_score_in_this_stage_0_010); PlayerPrefs.SetInt ("profile_0_array_W0S11_stages_unlocked", stage_playable_0_011); PlayerPrefs.SetInt ("profile_0_array_W0S11_stage_solved", stage_solved_0_011); PlayerPrefs.SetInt ("profile_0_array_W0S11_dots", dot_tail_turn_on_0_011); PlayerPrefs.SetInt ("profile_0_array_W0S11_stage_stars_score", stage_stars_score_0_011); PlayerPrefs.SetInt ("profile_0_array_W0S11_stage_int_score", best_int_score_in_this_stage_0_011); PlayerPrefs.SetInt ("profile_0_array_W0S12_stages_unlocked", stage_playable_0_012); PlayerPrefs.SetInt ("profile_0_array_W0S12_stage_solved", stage_solved_0_012); PlayerPrefs.SetInt ("profile_0_array_W0S12_dots", dot_tail_turn_on_0_012); PlayerPrefs.SetInt ("profile_0_array_W0S12_stage_stars_score", stage_stars_score_0_012); PlayerPrefs.SetInt ("profile_0_array_W0S12_stage_int_score", best_int_score_in_this_stage_0_012); PlayerPrefs.SetInt ("profile_0_array_W0S13_stages_unlocked", stage_playable_0_013); PlayerPrefs.SetInt ("profile_0_array_W0S13_stage_solved", stage_solved_0_013); PlayerPrefs.SetInt ("profile_0_array_W0S13_dots", dot_tail_turn_on_0_013); PlayerPrefs.SetInt ("profile_0_array_W0S13_stage_stars_score", stage_stars_score_0_013); PlayerPrefs.SetInt ("profile_0_array_W0S13_stage_int_score", best_int_score_in_this_stage_0_013); PlayerPrefs.SetInt ("profile_0_array_W0S14_stages_unlocked", stage_playable_0_014); PlayerPrefs.SetInt ("profile_0_array_W0S14_stage_solved", stage_solved_0_014); PlayerPrefs.SetInt ("profile_0_array_W0S14_dots", dot_tail_turn_on_0_014); PlayerPrefs.SetInt ("profile_0_array_W0S14_stage_stars_score", stage_stars_score_0_014); PlayerPrefs.SetInt ("profile_0_array_W0S14_stage_int_score", best_int_score_in_this_stage_0_014); PlayerPrefs.SetInt ("profile_0_array_W1S0_stages_unlocked", stage_playable_0_10); PlayerPrefs.SetInt ("profile_0_array_W1S0_stage_solved", stage_solved_0_10); PlayerPrefs.SetInt ("profile_0_array_W1S0_dots", dot_tail_turn_on_0_10); PlayerPrefs.SetInt ("profile_0_array_W1S0_stage_stars_score", stage_stars_score_0_10); PlayerPrefs.SetInt ("profile_0_array_W1S0_stage_int_score", best_int_score_in_this_stage_0_10); PlayerPrefs.SetInt ("profile_0_array_W1S1_stages_unlocked", stage_playable_0_11); PlayerPrefs.SetInt ("profile_0_array_W1S1_stage_solved", stage_solved_0_11); PlayerPrefs.SetInt ("profile_0_array_W1S1_dots", dot_tail_turn_on_0_11); PlayerPrefs.SetInt ("profile_0_array_W1S1_stage_stars_score", stage_stars_score_0_11); PlayerPrefs.SetInt ("profile_0_array_W1S1_stage_int_score", best_int_score_in_this_stage_0_11); PlayerPrefs.SetInt ("profile_0_array_W1S2_stages_unlocked", stage_playable_0_12); PlayerPrefs.SetInt ("profile_0_array_W1S2_stage_solved", stage_solved_0_12); PlayerPrefs.SetInt ("profile_0_array_W1S2_dots", dot_tail_turn_on_0_12); PlayerPrefs.SetInt ("profile_0_array_W1S2_stage_stars_score", stage_stars_score_0_12); PlayerPrefs.SetInt ("profile_0_array_W1S2_stage_int_score", best_int_score_in_this_stage_0_12); PlayerPrefs.SetInt ("profile_0_array_W1S3_stages_unlocked", stage_playable_0_13); PlayerPrefs.SetInt ("profile_0_array_W1S3_stage_solved", stage_solved_0_13); PlayerPrefs.SetInt ("profile_0_array_W1S3_dots", dot_tail_turn_on_0_13); PlayerPrefs.SetInt ("profile_0_array_W1S3_stage_stars_score", stage_stars_score_0_13); PlayerPrefs.SetInt ("profile_0_array_W1S3_stage_int_score", best_int_score_in_this_stage_0_13); PlayerPrefs.SetInt ("profile_0_array_W1S4_stages_unlocked", stage_playable_0_14); PlayerPrefs.SetInt ("profile_0_array_W1S4_stage_solved", stage_solved_0_14); PlayerPrefs.SetInt ("profile_0_array_W1S4_dots", dot_tail_turn_on_0_14); PlayerPrefs.SetInt ("profile_0_array_W1S4_stage_stars_score", stage_stars_score_0_14); PlayerPrefs.SetInt ("profile_0_array_W1S4_stage_int_score", best_int_score_in_this_stage_0_14); PlayerPrefs.SetInt ("profile_0_array_W1S5_stages_unlocked", stage_playable_0_15); PlayerPrefs.SetInt ("profile_0_array_W1S5_stage_solved", stage_solved_0_15); PlayerPrefs.SetInt ("profile_0_array_W1S5_dots", dot_tail_turn_on_0_15); PlayerPrefs.SetInt ("profile_0_array_W1S5_stage_stars_score", stage_stars_score_0_15); PlayerPrefs.SetInt ("profile_0_array_W1S5_stage_int_score", best_int_score_in_this_stage_0_15); PlayerPrefs.SetInt ("profile_0_array_W1S6_stages_unlocked", stage_playable_0_16); PlayerPrefs.SetInt ("profile_0_array_W1S6_stage_solved", stage_solved_0_16); PlayerPrefs.SetInt ("profile_0_array_W1S6_dots", dot_tail_turn_on_0_16); PlayerPrefs.SetInt ("profile_0_array_W1S6_stage_stars_score", stage_stars_score_0_16); PlayerPrefs.SetInt ("profile_0_array_W1S6_stage_int_score", best_int_score_in_this_stage_0_16); PlayerPrefs.SetInt ("profile_0_array_W1S7_stages_unlocked", stage_playable_0_17); PlayerPrefs.SetInt ("profile_0_array_W1S7_stage_solved", stage_solved_0_17); PlayerPrefs.SetInt ("profile_0_array_W1S7_dots", dot_tail_turn_on_0_17); PlayerPrefs.SetInt ("profile_0_array_W1S7_stage_stars_score", stage_stars_score_0_17); PlayerPrefs.SetInt ("profile_0_array_W1S7_stage_int_score", best_int_score_in_this_stage_0_17); PlayerPrefs.SetInt ("profile_0_array_W1S8_stages_unlocked", stage_playable_0_18); PlayerPrefs.SetInt ("profile_0_array_W1S8_stage_solved", stage_solved_0_18); PlayerPrefs.SetInt ("profile_0_array_W1S8_dots", dot_tail_turn_on_0_18); PlayerPrefs.SetInt ("profile_0_array_W1S8_stage_stars_score", stage_stars_score_0_18); PlayerPrefs.SetInt ("profile_0_array_W1S8_stage_int_score", best_int_score_in_this_stage_0_18); PlayerPrefs.SetInt ("profile_0_array_W1S9_stages_unlocked", stage_playable_0_19); PlayerPrefs.SetInt ("profile_0_array_W1S9_stage_solved", stage_solved_0_19); PlayerPrefs.SetInt ("profile_0_array_W1S9_dots", dot_tail_turn_on_0_19); PlayerPrefs.SetInt ("profile_0_array_W1S9_stage_stars_score", stage_stars_score_0_19); PlayerPrefs.SetInt ("profile_0_array_W1S9_stage_int_score", best_int_score_in_this_stage_0_19); PlayerPrefs.SetInt ("profile_0_array_W1S10_stages_unlocked", stage_playable_0_110); PlayerPrefs.SetInt ("profile_0_array_W1S10_stage_solved", stage_solved_0_110); PlayerPrefs.SetInt ("profile_0_array_W1S10_dots", dot_tail_turn_on_0_110); PlayerPrefs.SetInt ("profile_0_array_W1S10_stage_stars_score", stage_stars_score_0_110); PlayerPrefs.SetInt ("profile_0_array_W1S10_stage_int_score", best_int_score_in_this_stage_0_110); PlayerPrefs.SetInt ("profile_0_array_W1S11_stages_unlocked", stage_playable_0_111); PlayerPrefs.SetInt ("profile_0_array_W1S11_stage_solved", stage_solved_0_111); PlayerPrefs.SetInt ("profile_0_array_W1S11_dots", dot_tail_turn_on_0_111); PlayerPrefs.SetInt ("profile_0_array_W1S11_stage_stars_score", stage_stars_score_0_111); PlayerPrefs.SetInt ("profile_0_array_W1S11_stage_int_score", best_int_score_in_this_stage_0_111); PlayerPrefs.SetInt ("profile_0_array_W1S12_stages_unlocked", stage_playable_0_112); PlayerPrefs.SetInt ("profile_0_array_W1S12_stage_solved", stage_solved_0_112); PlayerPrefs.SetInt ("profile_0_array_W1S12_dots", dot_tail_turn_on_0_112); PlayerPrefs.SetInt ("profile_0_array_W1S12_stage_stars_score", stage_stars_score_0_112); PlayerPrefs.SetInt ("profile_0_array_W1S12_stage_int_score", best_int_score_in_this_stage_0_112); PlayerPrefs.SetInt ("profile_0_array_W1S13_stages_unlocked", stage_playable_0_113); PlayerPrefs.SetInt ("profile_0_array_W1S13_stage_solved", stage_solved_0_113); PlayerPrefs.SetInt ("profile_0_array_W1S13_dots", dot_tail_turn_on_0_113); PlayerPrefs.SetInt ("profile_0_array_W1S13_stage_stars_score", stage_stars_score_0_113); PlayerPrefs.SetInt ("profile_0_array_W1S13_stage_int_score", best_int_score_in_this_stage_0_113); PlayerPrefs.SetInt ("profile_0_array_W1S14_stages_unlocked", stage_playable_0_114); PlayerPrefs.SetInt ("profile_0_array_W1S14_stage_solved", stage_solved_0_114); PlayerPrefs.SetInt ("profile_0_array_W1S14_dots", dot_tail_turn_on_0_114); PlayerPrefs.SetInt ("profile_0_array_W1S14_stage_stars_score", stage_stars_score_0_114); PlayerPrefs.SetInt ("profile_0_array_W1S14_stage_int_score", best_int_score_in_this_stage_0_114); PlayerPrefs.SetInt ("profile_0_array_W2S0_stages_unlocked", stage_playable_0_20); PlayerPrefs.SetInt ("profile_0_array_W2S0_stage_solved", stage_solved_0_20); PlayerPrefs.SetInt ("profile_0_array_W2S0_dots", dot_tail_turn_on_0_20); PlayerPrefs.SetInt ("profile_0_array_W2S0_stage_stars_score", stage_stars_score_0_20); PlayerPrefs.SetInt ("profile_0_array_W2S0_stage_int_score", best_int_score_in_this_stage_0_20); PlayerPrefs.SetInt ("profile_0_array_W2S1_stages_unlocked", stage_playable_0_21); PlayerPrefs.SetInt ("profile_0_array_W2S1_stage_solved", stage_solved_0_21); PlayerPrefs.SetInt ("profile_0_array_W2S1_dots", dot_tail_turn_on_0_21); PlayerPrefs.SetInt ("profile_0_array_W2S1_stage_stars_score", stage_stars_score_0_21); PlayerPrefs.SetInt ("profile_0_array_W2S1_stage_int_score", best_int_score_in_this_stage_0_21); PlayerPrefs.SetInt ("profile_0_array_W2S2_stages_unlocked", stage_playable_0_22); PlayerPrefs.SetInt ("profile_0_array_W2S2_stage_solved", stage_solved_0_22); PlayerPrefs.SetInt ("profile_0_array_W2S2_dots", dot_tail_turn_on_0_22); PlayerPrefs.SetInt ("profile_0_array_W2S2_stage_stars_score", stage_stars_score_0_22); PlayerPrefs.SetInt ("profile_0_array_W2S2_stage_int_score", best_int_score_in_this_stage_0_22); PlayerPrefs.SetInt ("profile_0_array_W2S3_stages_unlocked", stage_playable_0_23); PlayerPrefs.SetInt ("profile_0_array_W2S3_stage_solved", stage_solved_0_23); PlayerPrefs.SetInt ("profile_0_array_W2S3_dots", dot_tail_turn_on_0_23); PlayerPrefs.SetInt ("profile_0_array_W2S3_stage_stars_score", stage_stars_score_0_23); PlayerPrefs.SetInt ("profile_0_array_W2S3_stage_int_score", best_int_score_in_this_stage_0_23); PlayerPrefs.SetInt ("profile_0_array_W2S4_stages_unlocked", stage_playable_0_24); PlayerPrefs.SetInt ("profile_0_array_W2S4_stage_solved", stage_solved_0_24); PlayerPrefs.SetInt ("profile_0_array_W2S4_dots", dot_tail_turn_on_0_24); PlayerPrefs.SetInt ("profile_0_array_W2S4_stage_stars_score", stage_stars_score_0_24); PlayerPrefs.SetInt ("profile_0_array_W2S4_stage_int_score", best_int_score_in_this_stage_0_24); PlayerPrefs.SetInt ("profile_0_array_W2S5_stages_unlocked", stage_playable_0_25); PlayerPrefs.SetInt ("profile_0_array_W2S5_stage_solved", stage_solved_0_25); PlayerPrefs.SetInt ("profile_0_array_W2S5_dots", dot_tail_turn_on_0_25); PlayerPrefs.SetInt ("profile_0_array_W2S5_stage_stars_score", stage_stars_score_0_25); PlayerPrefs.SetInt ("profile_0_array_W2S5_stage_int_score", best_int_score_in_this_stage_0_25); PlayerPrefs.SetInt ("profile_0_array_W2S6_stages_unlocked", stage_playable_0_26); PlayerPrefs.SetInt ("profile_0_array_W2S6_stage_solved", stage_solved_0_26); PlayerPrefs.SetInt ("profile_0_array_W2S6_dots", dot_tail_turn_on_0_26); PlayerPrefs.SetInt ("profile_0_array_W2S6_stage_stars_score", stage_stars_score_0_26); PlayerPrefs.SetInt ("profile_0_array_W2S6_stage_int_score", best_int_score_in_this_stage_0_26); PlayerPrefs.SetInt ("profile_0_array_W2S7_stages_unlocked", stage_playable_0_27); PlayerPrefs.SetInt ("profile_0_array_W2S7_stage_solved", stage_solved_0_27); PlayerPrefs.SetInt ("profile_0_array_W2S7_dots", dot_tail_turn_on_0_27); PlayerPrefs.SetInt ("profile_0_array_W2S7_stage_stars_score", stage_stars_score_0_27); PlayerPrefs.SetInt ("profile_0_array_W2S7_stage_int_score", best_int_score_in_this_stage_0_27); PlayerPrefs.SetInt ("profile_0_array_W2S8_stages_unlocked", stage_playable_0_28); PlayerPrefs.SetInt ("profile_0_array_W2S8_stage_solved", stage_solved_0_28); PlayerPrefs.SetInt ("profile_0_array_W2S8_dots", dot_tail_turn_on_0_28); PlayerPrefs.SetInt ("profile_0_array_W2S8_stage_stars_score", stage_stars_score_0_28); PlayerPrefs.SetInt ("profile_0_array_W2S8_stage_int_score", best_int_score_in_this_stage_0_28); PlayerPrefs.SetInt ("profile_0_array_W2S9_stages_unlocked", stage_playable_0_29); PlayerPrefs.SetInt ("profile_0_array_W2S9_stage_solved", stage_solved_0_29); PlayerPrefs.SetInt ("profile_0_array_W2S9_dots", dot_tail_turn_on_0_29); PlayerPrefs.SetInt ("profile_0_array_W2S9_stage_stars_score", stage_stars_score_0_29); PlayerPrefs.SetInt ("profile_0_array_W2S9_stage_int_score", best_int_score_in_this_stage_0_29); PlayerPrefs.SetInt ("profile_0_array_W2S10_stages_unlocked", stage_playable_0_210); PlayerPrefs.SetInt ("profile_0_array_W2S10_stage_solved", stage_solved_0_210); PlayerPrefs.SetInt ("profile_0_array_W2S10_dots", dot_tail_turn_on_0_210); PlayerPrefs.SetInt ("profile_0_array_W2S10_stage_stars_score", stage_stars_score_0_210); PlayerPrefs.SetInt ("profile_0_array_W2S10_stage_int_score", best_int_score_in_this_stage_0_210); PlayerPrefs.SetInt ("profile_0_array_W2S11_stages_unlocked", stage_playable_0_211); PlayerPrefs.SetInt ("profile_0_array_W2S11_stage_solved", stage_solved_0_211); PlayerPrefs.SetInt ("profile_0_array_W2S11_dots", dot_tail_turn_on_0_211); PlayerPrefs.SetInt ("profile_0_array_W2S11_stage_stars_score", stage_stars_score_0_211); PlayerPrefs.SetInt ("profile_0_array_W2S11_stage_int_score", best_int_score_in_this_stage_0_211); PlayerPrefs.SetInt ("profile_0_array_W2S12_stages_unlocked", stage_playable_0_212); PlayerPrefs.SetInt ("profile_0_array_W2S12_stage_solved", stage_solved_0_212); PlayerPrefs.SetInt ("profile_0_array_W2S12_dots", dot_tail_turn_on_0_212); PlayerPrefs.SetInt ("profile_0_array_W2S12_stage_stars_score", stage_stars_score_0_212); PlayerPrefs.SetInt ("profile_0_array_W2S12_stage_int_score", best_int_score_in_this_stage_0_212); PlayerPrefs.SetInt ("profile_0_array_W2S13_stages_unlocked", stage_playable_0_213); PlayerPrefs.SetInt ("profile_0_array_W2S13_stage_solved", stage_solved_0_213); PlayerPrefs.SetInt ("profile_0_array_W2S13_dots", dot_tail_turn_on_0_213); PlayerPrefs.SetInt ("profile_0_array_W2S13_stage_stars_score", stage_stars_score_0_213); PlayerPrefs.SetInt ("profile_0_array_W2S13_stage_int_score", best_int_score_in_this_stage_0_213); PlayerPrefs.SetInt ("profile_0_array_W2S14_stages_unlocked", stage_playable_0_214); PlayerPrefs.SetInt ("profile_0_array_W2S14_stage_solved", stage_solved_0_214); PlayerPrefs.SetInt ("profile_0_array_W2S14_dots", dot_tail_turn_on_0_214); PlayerPrefs.SetInt ("profile_0_array_W2S14_stage_stars_score", stage_stars_score_0_214); PlayerPrefs.SetInt ("profile_0_array_W2S14_stage_int_score", best_int_score_in_this_stage_0_214); PlayerPrefs.SetInt ("profile_0_incremental_item_0_current_level", incremental_item_current_level_0_0); PlayerPrefs.SetInt ("profile_0_incremental_item_1_current_level", incremental_item_current_level_0_1); PlayerPrefs.SetInt ("profile_0_incremental_item_2_current_level", incremental_item_current_level_0_2); PlayerPrefs.SetInt ("profile_0_incremental_item_3_current_level", incremental_item_current_level_0_3); PlayerPrefs.SetInt ("profile_0_incremental_item_4_current_level", incremental_item_current_level_0_4); PlayerPrefs.SetInt ("profile_0_incremental_item_5_current_level", incremental_item_current_level_0_5); PlayerPrefs.SetInt ("profile_0_incremental_item_6_current_level", incremental_item_current_level_0_6); PlayerPrefs.SetInt ("profile_0_consumable_item_0_current_quantity", consumable_item_current_quantity_0_0); PlayerPrefs.SetInt ("profile_0_consumable_item_1_current_quantity", consumable_item_current_quantity_0_1); PlayerPrefs.SetInt ("profile_0_consumable_item_2_current_quantity", consumable_item_current_quantity_0_2); PlayerPrefs.SetInt ("profile_0_consumable_item_3_current_quantity", consumable_item_current_quantity_0_3); PlayerPrefs.SetInt ("profile_0_consumable_item_4_current_quantity", consumable_item_current_quantity_0_4); PlayerPrefs.SetInt ("profile_0_consumable_item_5_current_quantity", consumable_item_current_quantity_0_5); PlayerPrefs.SetInt ("profile_0_consumable_item_6_current_quantity", consumable_item_current_quantity_0_6); PlayerPrefs.SetInt ("profile_0_consumable_item_7_current_quantity", consumable_item_current_quantity_0_7); PlayerPrefs.SetInt ("profile_0_consumable_item_8_current_quantity", consumable_item_current_quantity_0_8); PlayerPrefs.SetInt ("profile_0_consumable_item_9_current_quantity", consumable_item_current_quantity_0_9); PlayerPrefs.SetInt ("profile_0_consumable_item_10_current_quantity", consumable_item_current_quantity_0_10); PlayerPrefs.SetInt ("profile_0_consumable_item_11_current_quantity", consumable_item_current_quantity_0_11); PlayerPrefs.SetInt ("profile_0_consumable_item_12_current_quantity", consumable_item_current_quantity_0_12); PlayerPrefs.SetInt ("profile_0_consumable_item_13_current_quantity", consumable_item_current_quantity_0_13); PlayerPrefs.SetInt ("profile_0_consumable_item_14_current_quantity", consumable_item_current_quantity_0_14); PlayerPrefs.SetInt ("profile_0_consumable_item_15_current_quantity", consumable_item_current_quantity_0_15); PlayerPrefs.SetInt ("profile_0_consumable_item_16_current_quantity", consumable_item_current_quantity_0_16); PlayerPrefs.SetInt ("profile_0_total_stars", starts); PlayerPrefs.SetInt ("profile_0_virtual_money", money); PlayerPrefs.SetInt ("profile_0_current_lives", lives); PlayerPrefs.SetInt ("profile_0_total_number_of_stages_in_the_game_solved", stages); PlayerPrefs.SetInt ("profile_0_best_int_score_for_this_profile", best_score); PlayerPrefs.SetInt ("profile_0_play_this_stage_to_progress", stage_progress); PlayerPrefs.SetInt ("profile_0_play_this_world_to_progress", world_progress); my_game_master.my_Soomla_billing_script.Remove_all_virtual_money_from_this_profile(0); my_game_master.my_Soomla_billing_script.Give_virtual_money_for_free(0,money); } my_game_master.SimulateAwake (); if (Application.loadedLevelName == "Home") { my_manage_menu_uGUI.Back (); } //mp.My_start (); }