Saving and loading game progress
The last thing that we will focus on is saving and loading game progress. Saving and loading can be done in many ways, but at its heart, saving the progress revolves around specific variables that you would like to save.
Most games save a lot of different variables, such as the level or area the player is in, the player's stats, the player's inventory, and gold. In our example, we will choose to save the player's gold, but using the method that we are about to perform, you can easily figure out how to save all the other progress in the game.
To start with, create a new Blueprint class in Content Browser by navigating to Content | Blueprints. The Pick Parent Class window will pop up, and from All Classes, select ...