public static void SetList <T>(string aKey, PersistenceList <T> aValue) { string strValue = JsonUtility.ToJson(aValue); PlayerPrefs.SetString(aKey, strValue); }