WebPlayer and persistent data ?

Hi,

I’m working on a Unity WebPlayer game, and I would like to know if and how I can store persistent data on the computer.

For instance : The user starts the game, changes the graphic quality parameter to adapt it to the machine capabilities. A few days later, the user starts the game again, I then would like the previous parameter to be restored.

In this case, I don’t think storing this parameter in the user account on the web server makes sense, as a single user could play the game on different computers, with possibly different hardware capabilities, and different graphic quality parameters. Also, multiple users could share one single computer, thus sharing the same graphic quality, but different user accounts on the server.

So, is there a way to store and read data on the local computer from the WebPlayer?

Thanks in advance,
Alex

For your purpose you would use PlayerPrefs, the only way to store anything on the user system at all in the webplayer

Thank you, that’s exactly what I was looking for.