Пример #1
0
    IEnumerator saveandloadprogress()
    {
        savetime = false;
        yield return(new WaitForSeconds(60));

        SaveProgress.saveplayedata(Player.player);
        SaveProgress.loadplayerdata();
        savetime = false;
    }
Пример #2
0
 private void Awake()
 {
     LM = this;
     SaveProgress.saveplayedata(Player.player);
 }