Example #1
0
 public void Load()
 {
     // BEGIN loading_test
     // Try to load the game from a file called "SaveGame.json"
     SavingService.LoadGame("SaveGame.json");
     // END loading_test
 }
Example #2
0
 /// <summary>
 /// Call the LoadGame() method from SavingService.cs
 /// Input fileName is case sensitive, make sure input written excatly like it is a Application.persistentDataPath.
 /// </summary>
 /// <param name="fileName"></param>
 public void loadGame()
 {
     SavingService.LoadGame("SaveGame.json");
 }