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); }
public void SaveScore() { NCMBPlayerPrefs.SetInt("Score", cloudSaveCanvas.GetScore()); NCMBPlayerPrefs.Save(SaveSuccess, SaveFailed); cloudSaveCanvas.EnableConenctingScreen(); }