public static void SetString(string key, string value) { string key2 = Util.GetKey(key); PlayerPrefs.DeleteKey(key2); PlayerPrefs.SetString(key2, value); }
public static void SetInt(string key, int value) { string key2 = Util.GetKey(key); PlayerPrefs.DeleteKey(key2); PlayerPrefs.SetInt(key2, value); }
public static void RemoveData(string key) { string key2 = Util.GetKey(key); PlayerPrefs.DeleteKey(key2); }
public static string GetString(string key) { string key2 = Util.GetKey(key); return(PlayerPrefs.GetString(key2)); }
public static bool HasKey(string key) { string key2 = Util.GetKey(key); return(PlayerPrefs.HasKey(key2)); }
public static int GetInt(string key) { string key2 = Util.GetKey(key); return(PlayerPrefs.GetInt(key2)); }