- Home /
Question by
OSG · Mar 06, 2014 at 01:16 PM ·
playerprefsarrayprefs
ArrayPrefs
Hi all. I'm using ArrayPrefs to store arrays. Saving is working, I checked playerPrefs in registry and they contains my arrays. But when I loading them back PlayerPrefsX.GetIntArray() returns zero length array.
Comment
Best Answer
Answer by haim96 · Mar 06, 2014 at 01:21 PM
last online unity training session was about saving and load data in unity. http://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/persistence-data-saving-loading
in this session you can learn how to save and load data with serialization which is much safer option then using userprefs and also should allow you to save arrays. hope it will help you some how.
don't forget to mark an answer if you found this helpful. thanks!