How To Change Value In ArrayPrefs

I’ve messed around with Unity for a few years now and just recently rededicated myself to bringing one of my ideas to life on the iOS platform. I’ve been able to find everything I need to know up until now thanks to all the great information this community provides, but I just hit my first snag(Guess it had to happen at some point!).

What I’m trying to do is find array[×] and then change the value of [×] and save it back to the prefs. I’ve been able to create the Array and save, retrieve, and change the initial value from the prefs, but I can’t figure out how to save the new value back to the prefs. I’m assuming this is possible, but I can’t seem to wrap my head around how to accomplish this. Any help would be greatly appreciated.

Thanks,

Blake

You just save the array again.

–Eric

Thanks for the help Eric. It makes me feel sort’ve sick that I stayed up the entire night trying to figure that out and it turned out to be so simple, but I guess you live and you learn. Thanks again, this isn’t the first time a post you made has guided me in the right direction and I’m sure it won’t be the last.