void Start() { if (!PlayerPersistence.HasFileCreated()) { //First time playing the game PlayerPersistence.SavePlayerData(null, true); SetDefaultPlayerConfigs(); } else { //If not the first time playing RetrievePlayerConfigsSaved(); } }
void Start() { if (!PlayerPersistence.HasFileCreated()) { //First time playing the game PlayerPersistence.SavePlayerData(null, true); SetDefaultPlayerConfigs(); } else { //If not the first time playing RetrievePlayerConfigsSaved(); } }