Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-24T14:32:01.000Z (over 4 years ago)
- Last Synced: 2024-04-24T16:42:00.865Z (7 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.