Esempio n. 1
0
 private void CopySaveDataLocalToServer(object sender, EventArgs e)
 {
     //NCMBにログイン成功したら、NCMBPlayerPrefsを使ってローカルデータをサーバーにセーブ//
     NCMBPlayerPrefs.CopyIntLocalToServer("PlayerLevel");
     NCMBPlayerPrefs.CopyIntLocalToServer("PlayerExp");
     NCMBPlayerPrefs.CopyIntLocalToServer("EnemyLevel");
     NCMBPlayerPrefs.CopyIntLocalToServer("EnemyHitPoint");
     NCMBPlayerPrefs.Save(ShowTakeOverCodeAndLogOut, TryAgainGenerateError);
 }
Esempio n. 2
0
 public void SaveScore()
 {
     NCMBPlayerPrefs.SetInt("Score", cloudSaveCanvas.GetScore());
     NCMBPlayerPrefs.Save(SaveSuccess, SaveFailed);
     cloudSaveCanvas.EnableConenctingScreen();
 }