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