Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.