コード例 #1
0
 public void Update()
 {
     if (prefsGame == null || (bLoadCurrentGame && prefsGame.appId != PlayBoundsManager.instance.GetRunningAppId()))
     {
         prefsGame = prefs.GetCurrentGame();
     }
 }
コード例 #2
0
 public void LoadGame(int appId)
 {
     if (appId == -1)
     {
         prefsGame        = prefs.GetCurrentGame();
         bLoadCurrentGame = true;
     }
     else
     {
         prefsGame        = prefs.GetGame(appId);
         bLoadCurrentGame = false;
     }
 }