private static bool LoadRndHistory(string historyId) { if (indexHistory.ContainsKey(historyId)) { indexHistory.Remove(historyId); } var list = new List <int>(MiscellaneousUtils.intArrayFromCsv(PlayerPrefs.GetString(historyId, ""))); indexHistory.Add(historyId, list); return(indexHistory[historyId]._IsNullOrEmpty()); }