Example #1
0
 public void LoadPlayer(PlayerSave player, string savePath, bool saveCurrent)
 {
     PlayerPrefs.SetString(LastSavedGameKey, savePath);
     RPG.LoadLevel(player.CurrentScene, false, saveCurrent);
 }
Example #2
0
 public void LoadPlayerWithForcedReload(PlayerSave player, string savePath, bool saveCurrent)
 {
     PlayerPrefs.SetString(LastSavedGameKey, savePath);
     RPG.LoadLevel(player.CurrentScene, false, saveCurrent, null, null, true);
 }
Example #3
0
 public void SavePlayerSave(PlayerSave save)
 {
     Instance.Save(save, false);
 }