Game Save After Closed Game
Posted: Fri Dec 02, 2016 1:49 am
Hi , i want to ask how to save all the player record even i closed game? Current i'm use game saver and persistent active data. But nothing happen ,
Thanks
Thanks
Support and discussion forum for Pixel Crushers products
https://www.pixelcrushers.com:443/phpbb/
Code: Select all
using UnityEngine;
using PixelCrushers.DialogueSystem;
public class Autosave : MonoBehaviour {
public string saveKey = "SavedGame";
void Start() {
if (PlayerPrefs.HasKey(saveKey)) PersistentDataManager.ApplySaveData(PlayerPrefs.GetString(saveKey));
}
void OnApplicationQuit() {
PlayerPrefs.SetString(saveKey, PersistentDataManager.GetSaveData());
}
}
No, the Dialogue System isn't a good fit for that. You might try something like WordPress Login.Syncheizner wrote:I Have another question , can we make login and register system using this asset?