void StartSaveLoad() { Main.Initialise(); SaveLoad.OnGameLoaded += OnSavedGameLoaded; SaveLoad.OnLoadError += OnLoadError; SaveLoad.OnLoadNoData += OnLoadNoData; SaveLoad.Initialise(); slotParams.title = "Gunhouse"; slotParams.subTitle = "Load your guns! Rain death from above!"; slotParams.detail = "Save Data"; slotParams.iconPath = Path.Combine(Application.streamingAssetsPath, "SaveIcon.png"); DataStorage.ResetValues(); Objectives.ResetValues(); }
public static void DeleteFile() { SaveLoad.Delete(0, false); DataStorage.ResetValues(); Objectives.ResetValues(); }