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