public static void SetString(string data, string key) { string encodedString = B64X.EncodeFrom(data); PlayerPrefs.SetString(key, encodedString); }
public static void SetInt(int data, string key) { string encodedInt = B64X.EncodeFrom(data); PlayerPrefs.SetString(key, encodedInt); }