Example #1
0
        private static string GetRaw(string key, string @default)
        {
            var value = PlayerPrefs.GetString(key, @default);

            if (value == @default)
            {
                return(value);
            }
            return(VaultifyCore.Decrypt(value));
        }
Example #2
0
 private static void SetRaw(string key, string value)
 {
     PlayerPrefs.SetString(key, VaultifyCore.Encrypt(value));
 }