예제 #1
0
    public static void SetString(string data, string key)
    {
        string encodedString = B64X.EncodeFrom(data);

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

        PlayerPrefs.SetString(key, encodedInt);
    }