Submitted by bernardfrancois on Fri, 03/11/2011 - 06:43
Here at PreviewLabs, a company specialized in rapid prototyping for video games, we created a class to have a faster way of storing PlayerPrefs on Android and iOS.
We noticed that it's very slow to save a large number of values using the PlayerPrefs class on these devices.
The source code has been made public domain, so you can use it and do whatever you like with it.
It can be downloaded here:
http://www.previewlabs.com/writing-playerprefs-fast/
It has been tested with Unity 3.3 on Mac, Android and iOS.
For versions of Unity prior to 3.3, the code needs to be modified a little bit, according to this post:
http://www.previewlabs.com/file-io-in-unity3d/
Tags:
- bernardfrancois's blog
- Login or register to post comments






