Hi everyone. I'm Jeremy Gibson Bond, and welcome back to the Unity Certified Programmer exam review material. In this video, we're going to be looking at creating a Save Game File locally on your machine regardless of what machine it is, whether it's WebGL, or a PC, or a Mac, or even a mobile device. There are several things that you want to store in this Save Game File. One is going to be a high score. The other is going to be all of our step records, progress, though steps that we talked about in the previous video. Then the last is going to be your achievements, whether you have completed them or not. So let's take a look at this actually working in game, in sort of the final version that I'll explain in the next video. So, here I am in Unity. I'm going to press play. You can see that there's now a Delete Save button down there in the corner. Let's ignore that for now. Actually, I am going to click it now. It says, "Unable to find and delete Save File. This is absolutely fine if you've never saved or you've just deleted the file." So we have not saved a file. That's totally fine. I'm going to click start, and I'll tell you that the high score defaults to 5,000. So, I got my first dust. I got my lucky shot there, and I'm just going to finish this up. Okay. It's now about to get that high score. There we go, I achieved a new high score by crossing the 5,000 threshold, and I've gotten several achievements from this. So let's take a look at where I am in the game. You can see if I click on Main Camera here and go look at the achievements manager, that I have 36 bullets fired. I feed a bunch of asteroids. Here we go, I've completed first dust and lucky shot. My high score is now actually not recorded here, but my high score is whatever I achieved when I finish this current game. So, let's go ahead and finish the current game, and I'll just run into a much things. Now, I've lost a few lives, and I got my high score, 6,300. Great. So now, I'm going to stop the game, and I'm going to press play again, and it's going to load in that Save Game File. So you can see here, when I pause, that if I click on Main Camera, I still have 36 bullet fired, 21 asteroids hit, eight lucky shots. I've still completed first dust and lucky shot. So, there, I have reloaded this information, whereas before, all those would reset every time I stop the game. I can quit Unity and open it up in a week, and it will still save that information. Now, another thing I'm going to do is I'm going to go ahead and play here, and I'm going to click Delete Save, and watch on the right side in the inspector there. When I delete the save, it clears all the information. All my achievements get cleared back to be incomplete and all of my step records get set back to zero. So that's how it clears everything, and it also sets that high score back to 5,000. So, this is what you want to do for your challenge this time. The other thing that I want you to think about is making this Save Game Manager that handles all of these, a static class. So I want you to make it a static class, with all static methods and static fields, and I want you to make use of the JsonUtility, that's now built into Unity, to take the data that starts out as a class with information about the achievements, and the step records, and the high score, turn it into JSON data that you save as a text file, and then load that information and turn it back into Save Game Data. So, that's your challenge for this time. I hope you enjoyed doing it. I'll see you in the next video.