- Home /
One simple question about saving in Network
Hi! I am new to Networking in Unity and I want to know something that I might already know.
I want to know how I can save data on the network, I mean, I want to store all the data about the player, so when he disconnects it will be saved, and when he connects he will get that data and will be able to keep playing the game.
I know that big games such as WoW, Rift, and all that, uses SQL databases connected to the server, but I want my game to be small, so I want my own "database" inside Unity.
How can I do that?
is it the same as saving offline? (Playerprefs, xml, etc)
Answer by fholm · Mar 27, 2014 at 09:38 AM
If you don't require any authoritative stuff then just saving it inside PlayerPrefs on the local client is enough, and then have the server send it to the server/other client he connects to upon connection.
Your answer
Follow this Question
Related Questions
Saving/storing in a clash of clans type game 0 Answers
Why PlayerPrefs not working although I use "HasKey" and Save() on android? 0 Answers
Help with RPG 2 Answers
Sending bulk data via rpc 1 Answer