Saving and loading
To let the player save and load data within our game, we will implement the save system that we created in Chapter 7, Creating Save and Load Systems.
Adding the script
Drag the FLAT_Save_System
script and drop it on the main camera. There will be no default values for this script, so we will need to set them as follows:
SfileName to
Test.txt
Sdirectory to
C:\Users\USERNAME\Desktop\
Drag-and-drop the First Person Controller onto the Player slot