GameList & GameFile

v4.0

The SaveAndLoad class will also handle the GameList, which stores a variety of information about the saved games, each in a GameFile object.

Game Files

Each GameFile object has the unique saveGameId for the file, which is the value used to load the data. It also has additional information which you may choose to display in your "Load Game" UI.

// GameFile.cs

public class GameFile
{
    public string saveGameId;
    public float gametimeNow;
    public string systemTime;
    public long systemTimecode;
    public string gameName;
    public string sceneName;
}

Last updated