Example #1
0
 void Start()
 {
     _saveLoadData.StartCoroutine(_saveLoadData.LoadPlayerInfo(SavePaths.currentPath));
     _oldDarkColor = fadeScreen.color;
     fadeScreen.gameObject.SetActive(false);
     nextLvl = PlayerPrefs.GetInt("next_lvl", nextLvl);
 }
Example #2
0
 public void LoadCharacter(int charId)
 {
     _saveLoadData.StartCoroutine(_saveLoadData.Load(loadPath[charId]));
 }