//public void Load() //{ // var pd = _Storage.Load(); // health = pd.health; // experience = pd.experience; //} //public void Save() //{ // _Storage.Save(new PlayerData(health, experience)); //} private void Load() { PlayerData pd = _Storage.Load(); Health = pd.Health; Experience = pd.Experience; }