public void AddAtEndGame(Data dat) { Manager.Instance.endText.text = dat.dieReson + " \r\n" + "Coins : " + dat.coins; Read(); save.Add(dat); Write(); Invoke("ReturnMenu", 3f); }
public void AddPoint() { try { Save.Add(begin); Save.Add(end); } catch (Exception) { } }