- Home /
how to save a load a game?
in my game i want it that when i collide with a "save sphere" my game automatically saves my game where it was. how would i come about doing this?
Answer by Julian-Glenn · Aug 18, 2010 at 07:36 PM
Take a look at using PlayerPrefs for small amounts of data. For something larger you may need to use either an XML file or a SQL database.
If you search Saving Players Position Unity or Saving Game Unity you will find lkots of results bot in Google and on this site.
The link I provided explains playerprefs, also you could search this site for myriad examples. X$$anonymous$$L is and Extensible $$anonymous$$arkup Language documnet. SQL (Structured Query Language) is a database format like $$anonymous$$S-SQL, mySQL, Oracle, Postgress, etc
Your answer
Follow this Question
Related Questions
PlayerPrefs script problem 2 Answers
Save game support, how do I load audio in a sertain time frame? 0 Answers
How i can PlayerPrefs List<>? 0 Answers
PlayerPrefs Save and Load not working 1 Answer
playerprefs problem 0 Answers