private static void StoreLog(ErrorInfo errorInfo) { LastSavedIndex++; if (LastSavedIndex == 200) { LastSavedIndex = 0; } PlayerPrefs.SetString(KEY_LOG_SAVE + LastSavedIndex, errorInfo.Serialize()); PlayerPrefs.SetInt(KEY_LAST_SAVED_INDEX, LastSavedIndex); }