コード例 #1
0
 public void SetPlayerInfo()
 {
     if (progress1 > 0)
     {
         GameSaveUtility.SetChapProgress(1);
     }
     if (progress2 > 0)
     {
         GameSaveUtility.SetChapProgress(2);
     }
     if (progress3 > 0)
     {
         GameSaveUtility.SetChapProgress(3);
     }
     GameSaveUtility.SavePlayerName(playerName);
     GameSaveUtility.SaveUniversity(playerTeam);
     GameSaveUtility.AddTotalBalance(playerMoney);
     GameSaveUtility.SetTotalStar(playerStars);
     PlayerPrefs.Save();
 }