We have learned many things from this chapter, such as save and load the value locally by using PlayerPrefs
, using the WWWForm
to post and load the high score from the server, encrypt the key code with MD5
, and load the XML string by using XmlDocument
. However, those aren't the things that we can do. Let's try something out and see how much we learned from this chapter:
PlayerPrefs
to save the current position of our character in the game and load it as wellXMLParser
script to load the XML file by using xml.Load
(filename.xml
) to load the XML file to your gameHiScore.php
and changing the PHPUrl
to your website; you can also change the hash key to the one that you prefer18.216.232.11