https://github.com/Dhelio/Concurrent-Player-Prefs-For-Unity
Unity's PlayerPrefs isn't thread safe; this is a similar system that is thread safe.
https://github.com/Dhelio/Concurrent-Player-Prefs-For-Unity
Last synced: about 2 months ago
JSON representation
Unity's PlayerPrefs isn't thread safe; this is a similar system that is thread safe.
- Host: GitHub
- URL: https://github.com/Dhelio/Concurrent-Player-Prefs-For-Unity
- Owner: Dhelio
- Created: 2020-07-06T14:36:27.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-24T14:32:01.000Z (almost 5 years ago)
- Last Synced: 2024-08-04T02:09:39.144Z (11 months ago)
- Language: C#
- Size: 5.86 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Concurrent-Player-Prefs-For-Unity
Unity's PlayerPrefs isn't thread safe; this is a similar system that is thread safe.Currently it does require Json.NET for perfomance reasons, and because it cannot be used with XML serializer;
you may change to JavaScriptSerializer, DataContractSerializer or BinaryFormatter, though. I find Json.NET easier overall.You can download Json.NET in Unity from NuGet; if you don't know how to set up NuGet packages for Unity, add the this plugin to do the job for you: https://github.com/GlitchEnzo/NuGetForUnity
Also, you can use this script for whatever you like. I, however, deny and decline all responsibility, the software is provided as-is, yada yada.