Exemplo n.º 1
0
        public void ChooseSaveFile(int saveFileIndex)
        {
            // Checking if the chosen save file has been saved before
            var canContinue = SaveManager.FileExists(saveFileIndex);

            loadGame.SetActive(canContinue);
            deleteSave.SetActive(canContinue);
            newGame.SetActive(!canContinue);

            // Set the current file location to the empty file location
            SaveManager.ChooseSaveFile(saveFileIndex);
        }