Beispiel #1
0
 private void CreateNewPlayerData()
 {
     currentPlayerData = new PlayerData
     {
         PlayerName = "Player",
         CurrentExperience = 0,
         CurrentLevelSpecification = playerdataConfig.CharacterProgression[0]
     };
     Debug.Log("Created new player");
 }
Beispiel #2
0
 private void LoadPlayerData()
 {
     currentPlayerData = dataLoader.LoadDataObject(currentPlayerData);
 }