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