Virtual Pet Save System

I'm going to implement a Virtual Pet system into on of my games(as a side feature) and needed to know how to save the states of the pet when the application is closed. It will jump right back into the same state it was when the application is open again.

Any answers?

On the local machine: PlayerPrefs

On a server: SQL, PHP and the WWW class

Here is a very good starting point from the wiki: Server Side Highscores

You're basically looking for a save system. Which has been asked before if you had considered to look for it.

http://answers.unity3d.com/questions/971/how-to-scrip-a-save-load-game-option.

Also check out

http://www.unifycommunity.com/wiki/index.php?title=Save_and_Load_from_XML