public SceneDataSettings Load() { var settings = SceneDataWriter.Load <SceneDataSettings>(GameManager.Instance.DataPath + Filename); if (settings != null) { return(settings); } return(this); }
public SceneDataSave Load() { var save = SceneDataWriter.Load <SceneDataSave>(GameManager.Instance.DataPath + GameManager.Instance.DataSettings.Lastsave); if (save != null) { return(save); } return(this); }
public void Save() { SceneDataWriter.Save(GameManager.Instance.DataPath + GameManager.Instance.DataSettings.Lastsave, this); }
public void Save() { SceneDataWriter.Save(GameManager.Instance.DataPath + Filename, this); }